enable_dynamic_client_registration
flag to true
in your tenant’s settings.
To do so, go to Dashboard > Settings > Advanced and enable the OIDC Dynamic Application Registration.
Alternatively, you can update this flag using the /Tenant/patch_settings
endpoint.
API2_ACCESS_TOKEN
with a valid token with the scope update:tenant_settings
. To learn more, read Management API Access Tokens.
POST
message to the Application Registration endpoint: https://{yourDomain}/oidc/register
. Note that Auth0 supports Open Dynamic Registration, which means that the endpoint will accept a registration request without an .
To create an application with the name My Dynamic application
and the callback URLs https://application.example.com/callback
and https://application.example.com/callback2
, use the following snippet:
token_endpoint_auth_method
, which can be none
or client_secret_post
(default value). Use token_endpoint_auth_method: none
in the request payload if creating a SPA.
The response includes the basic application information.
/token
and for signing and validating .client_secret
will expire. For Auth0 this value will always be zero (0
) which means that the application never expires.profile
and email
, custom claims that must conform to a namespaced format, or any scopes supported by the target API (for example, read:contacts
). Set this parameter if you need API access. To learn more, read API Scopes.token
or id_token token
. This will specify the type of token you will receive at the end of the flow. Use token
to get only an access token, or id_token token
to get both an ID token and an access token.response_type=id_token token
.Bearer
token in the Authorization
header of the HTTP request.