Skip to main content

OAuth 2.0 Authorize Endpoint

This endpoint is used to start the authorization process. The client redirects the user to this endpoint to request authorization. The user will be prompted to log in and grant permission to the client application.

Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries at https://oauth.net/code/

For now, you can only use grant_type authorization_code and refresh_token in the /oauth2/token endpoint

Query Parameters
    response_type string required

    Possible values: [code, token, id_token, code token]

    The type of response expected from the OAuth2 server

    client_id string required

    The client id that you already created

    redirect_uri string required

    Where to redirect after the oauth2 process completed

    scope string required

    The scopes that you want to request, separated by spaces

    state string

    An opaque value used by the client to maintain state between the request and callback. The authorization server includes this value when redirecting the user-agent back to the client.

Responses

Redirect to the client's redirect URI

Response Headers
  • Location string

    The URL to redirect the user to, including the authorization code or error information

Loading...