JSON Web Encryption (JWE) is an IETF standard for representing encrypted content using JSON. In Auth0, you can configure APIs to encrypt the details inside an using the JWE format. When JWE is used, Auth0 generates a access token containing a set of claims that are signed using JSON Web Signature (JWS). This JWT access token is then encrypted using JWE and serialized using the JWE Compact format. This allows solutions to maintain the confidentiality of data within the access tokens’ claims while also ensuring integrity protection using a signature.Documentation Index
Fetch the complete documentation index at: https://docs-staging.auth0-mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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.