Authentication
Login Callback
Exchanges and validates the authorization code for an access token after being redirect by the external provider. A success authentication will redirect the user back to the default redirect url provided in the /login route.
In case of error it will include the query string error=unexpected_error
when redirecting.
GET
/
callback
Query Parameters
error
string
The error description in case of failure to authenticate
state
string
The state value (Oauth2)
code
string
The authorization code (Oauth2)
Response
200 - application/json
login_url
string
The URL to redirect the user to the identity provider