Passer au contenu principal
POST
https://{yourDomain}
/
oidc
/
register
Dynamic Application Registration
curl --request POST \
  --url https://{yourDomain}/oidc/register \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "redirect_uris": [
    "<string>"
  ],
  "client_name": "<string>",
  "token_endpoint_auth_method": "<string>"
}
'
{
  "client_name": "<string>",
  "client_id": "<string>",
  "client_secret": "<string>",
  "redirect_uris": [
    "<string>"
  ],
  "client_secret_expires_at": 123
}

Autorisations

Authorization
string
header
requis

The access token received from the authorization server in the OAuth 2.0 flow.

Corps

application/json
redirect_uris
string[]
requis

An array of URLs that Auth0 will deem valid to call at the end of an Authentication flow.

client_name
string

The name of the Dynamic Client to be created.

token_endpoint_auth_method
string

Method used for authentication at the token endpoint.

Réponse

200 - application/json

Successful response with client details.

client_name
string

The name of the newly registered client.

client_id
string

The unique identifier for the client.

client_secret
string

The secret key for the client.

redirect_uris
string[]

The valid redirect URIs for the client.

client_secret_expires_at
integer

Expiration time for the client secret.