OAuth v2.0
OAuth v2.0 response type. This value MUST be code for the Authorization Code Flow.
codeOAuth v2.0 client identifier previously registered at the Authorization Server. Identifies the client making the request.
my-client-id-123OpenID Connect scope values indicating the access requested.This
MUST include openid as one of the space-delimited values.
openid profile emailThe ID of the template definition. Similar to scope, this defines the data requested
openid profile emailRedirection URI to which the response will be sent. This URI MUST exactly match one of the pre-registered redirect URIs for the client.
https://client.example.org/cbOpaque value used to maintain state between the request and the callback. This value is used to mitigate cross-site request forgery (CSRF) attacks. If present in the request, it MUST be returned unchanged in the response.
af0ifjsldkjA success response contains basic information for the client to start presenting credentials:
ID of this authorization session
Branding
Branding
Branding
Shown as a QR code
Status of the authorization session
Redirect to the client's redirect_uri with OAuth error parameters as defined in RFC 6749 section-4.1.2.1.
The redirect URI MAY include the following query parameters: error (REQUIRED), error_description (OPTIONAL), state (OPTIONAL, if supplied in the request).
As defined in RFC 6749 section-4.1.2.1, a request with an invalid client id or redirect URI will result with a HTTP 400 response."
Security scheme used in the POST v1/oauth2/authorization/token endpoint to exchange the authorization_code for an access_token
Value MUST be set to authorization_code.
The authorization code received from the authorization server.
The value must match the redirect_uri sent in the authorization request.
Access token response
access token
Type of token. Will always be Bearer.
Duration in seconds until the token expires.
Access token response
Last updated