Overview
/
Developer Tools
/
API Reference
/
Oauth2
/
Get the consent URL and other information for the OAuth 2.0 provider.

Get the consent URL and other information for the OAuth 2.0 provider
hidden

Path parameters

  • /{provider}

    "apple"+7
    • //The Apple account provider.
      "apple"
    • //The Discord account provider.
      "discord"
    • //The Google account provider.
      "google"
    • //The ZooCorp account provider (aka https://auth.corp.zoo.dev).
      "zoo_corp"
    • //The GitHub account provider.
      "github"
    • //The Microsoft account provider.
      "microsoft"
    • //The SAML account provider.
      "saml"
    • //Test provider for integration tests (only available during testing).
      "test_provider"
    //

Query string parameters

  • ?callback_url=

    string
    //

Response

  • 200 OK
    • //
      • csrf_token:

        string,
        //
      • oidc_nonce:

        string,
        //
      • pkce_code_verifier:

        string,
        //
      • url:

        string
        //
      }

Examples

get
/oauth2/provider/{provider}/consent
200 OK
Response