API → Oauth2 → Get the consent URL and other information for the OAuth 2.0 providerhidden
hidden
Parameters
Name
Type
Req.
Possible values
apple
: The Apple account provider.discord
: The Discord account provider.google
: The Google account provider.github
: The GitHub account provider.microsoft
: The Microsoft account provider.saml
: The SAML account provider.tencent
: The Tencent QQ account provider.
Returns
- 200 OK
successful operation
Name
Type
Req.
body
objectoptionalObject Properties
get
/oauth2/provider/{provider}/consent$ curl "https://api.zoo.dev/oauth2/provider/{provider}/consent" \
--header "Authorization: Bearer $TOKEN"
200 OK
Response{
"csrf_token": "1pq0b80hLXt6q8rmjD3c",
"pkce_code_verifier": "ZN",
"url": "wyUcQ"
}