- Authentication request
- Authentication response
- structure
- structure
Authentication request
Legacy
device
parameter is only needed if requesting a by passing the offline_access
scope.
OIDC-conformant
- The endpoint to execute credential exchanges is
/oauth/token
. - Auth0’s own grant type is used to authenticate users from a specific connection (
realm
). The standard OIDC password grant is also supported, but it does not accept Auth0-specific parameters such asrealm
. favorite_color
is no longer a valid scope.- The
device
parameter is removed. - The
audience
parameter is optional.
Authentication response
Legacy
- The returned access token is only 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. - The ID token will be forcibly signed using
RS256
if requested by a public application. To learn more, read Confidential and Public Applications. - A refresh token will be returned only if the
offline_access
scope was granted.
ID Token structure
Legacy
JSON
OIDC-conformant
JSON
- The ID token will be forcibly signed using
RS256
if requested by a public application. - The
favorite_color
claim must be namespaced and added through a rule. To learn more, read Create Namespaced Custom Claims.
Access Token structure (optional)
Legacy
JSON
/userinfo
endpoint.
OIDC-conformant
JSON
- The returned access token is a valid for calling the
/userinfo
endpoin (provided that the API specified by theaudience
parameter usesRS256
as ) as well as the resource server specified by theaudience
parameter. - Note that an opaque access token could still be returned if
/userinfo
is the only specified .
Standard password grant requests
The Auth0 password realm grant is not defined by standard OIDC, but it is suggested as an alternative to the legacy resource owner endpoint because it supports the Auth0-specificrealm
parameter. The standard OIDC flow is also supported when using OIDC authentication.