Successfully added
Software Development
by Patrik
JWT Bearer Token Validation
How does an API validate the JWT Bearer token without configuring a secret or a public key?
The authentication service will use the OIDC metadata endpoints to get the necessary information.
Steps:
- The OpenID Configuration is read first: https://{issuer}/.well-known/openid-configuration
- From there it will find the URL to the jwks_uri and then load that one: like https://{issuer}/.well-known/jwks.json
- The public key(s) are loaded from that document and used to verify the incoming JWT Bearer tokens
Referenced in:
Comments