jwks_uri
), which contains the JWKS used to sign all Auth0-issued (JWTs) signed with the RS256 . The endpoint exists at:
https://{yourDomain}/.well-known/openid-configuration
.
When validating a JWT using a JWKS, you will need to:
- Retrieve the JWKS from the Auth0 Discovery endpoint, and filter for potential signing keys (e.g., any keys missing a public key or with a
kid
property). - Grab the
kid
property from the Header of the decoded JWT. - Search your filtered JWKS for the key with the matching
kid
property. - Build a certificate using the corresponding
x5c
property in your JWKS. - Use the certificate to verify the JWT’s signature.