Callback
The callback endpoint that gets the OAuth2 authorization code grant response.
Args: response: The response object tokens: The authorization state token, ID token and access token user_manager: The User Manager to use
Returns: An OAuth2 login response with the JWT session token.
Raises: AuthorizationException: If the user could not be authenticated.
Query parameters
codeany ofOptional
stringOptional
nullOptional
code_verifierany ofOptional
stringOptional
nullOptional
stateany ofOptional
stringOptional
nullOptional
errorany ofOptional
stringOptional
nullOptional
Responses
200
Successful Response
application/json
OAuth 2.0 login response.
access_tokenstringRequired
expires_inintegerRequired
token_typestringOptionalDefault:
bearerdevice_idany ofOptional
stringOptional
nullOptional
device_metadataany ofOptional
or
nullOptional
422
Validation Error
application/json
get
/auth/callbackLast updated
Was this helpful?