Authentication request
Legacy
device
parameter is only needed if requesting a refresh token by passing the offline_access
scope. To learn more, read Refresh Tokens.
OIDC-conformant
response_type
indicates that we want to receive both an access token and ID token.- Refresh tokens are not allowed in the implicit grant. Use
prompt=none
instead. To learn more read Configure Silent Authentication. favorite_color
is no longer a valid scope.audience
is optional.nonce
must be a cryptographically secure random string. To learn more, read Mitigate Replay Attacks When Using the Implicit Flow.
Authentication response
Legacy
- The returned access token is valid for calling the
/userinfo
endpoint. - A refresh token will be returned only if a
device
parameter was passed and theoffline_access
scope was requested.
OIDC-conformant
- The returned access token is valid for calling the
/userinfo
endpoint (provided that the API specified by theaudience
param usesRS256
as signing algorithm) and optionally the specified by theaudience
parameter. - If using
response_type=id_token
, Auth0 will only return an ID token. Refresh Tokens are not allowed in the implicit grant. Useprompt=none
instead.
ID token structure
Legacy
JSON
OIDC-conformant
JSON
- The
favorite_color
claim must be namespaced and added through a rule. To learn more, read Create Namespaced Custom Claims. - After validating the ID token, the application must validate the to mitigate replay attacks.
Access token structure (optional)
Legacy
HTTP
/userinfo
endpoint.
OIDC-conformant
JSON
- The returned access token is a valid for calling the
/userinfo
endpoint (provided that the API specified by theaudience
param usesRS256
as signing algorithm) as well as the resource server specified by theaudience
parameter. - An opaque access token could still be returned if
/userinfo
is the only specified .