Generate and validate an access token
Configure JWE for each API. Assuming you have configured theapiIdentifier
to use JWE, the code sample requests an encrypted access token via the client credentials grant for a machine-to-machine (M2M) application. JWE is available for all grant types supported by Auth0.
alg
), the content encryption algorithm (enc
), and, if provided when configuring the API, the key id (kid
) that were used to encrypt the payload.