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
kidproperty). - Grab the
kidproperty from the Header of the decoded JWT. - Search your filtered JWKS for the key with the matching
kidproperty. - Build a certificate using the corresponding
x5cproperty in your JWKS. - Use the certificate to verify the JWT’s signature.