private_key_jwt:
alg
: The algorithm used to sign the assertion. The algorithm must match the algorithm specified when you created your application credential.kid
: (optional) The Auth0 generated kid
of the credential. The kid
is created when you created the credential.iss
: Your application’s Client ID. You can find this value in your application settings under Auth0 Dashboard > Applications > Applications and select the Settings tab.
sub
: Your application’s Client ID. You also can find this value in your application settings. You can find this value in your application settings under Auth0 Dashboard > Applications > Applications and select the Settings tab.
aud
: The URL of the Auth0 tenant or custom domain that receives the assertion. For example: https://{yourTenant}.auth0.com/
. Include the trailing slash.
aud
claim. We recommend using the custom domain in this case.iat
(optional), nbf
(optional), and exp
: Issued At, Not Before, and Expiration claims set to the correct timestamps. A clock skew of up to 10 seconds is allowed for iat
and nbf
(if present) to support inter-operability. The client assertion is a one-time use token, and we recommend the shortest possible expiry time. Auth0 supports a maximum of 5 minutes for the lifetime of a token.
jti
: A unique claim ID created by the client. We recommend using the Universally Unique Identifier (UUID) format.
client_secret
with client_assertion
.$client_assertion
: JWT assertion$resource_server_identifier
: identifier. To learn more, read Register APIs.private_key_jwt
authentication for configured applications:
iss
: 64 characterssub
: 64 charactersjti
: 64 charactersalg
: 16 characters