You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to be able to differentiate between access tokens and identity tokens, and specifically to fail JWT validation if the token is not an access token.
I would like to have a typ option which I could set to the required value, with JWT verification failing if the expected type is not found in the header.
Alternatives and current work-arounds
Do not share identity token to clients, so they cannot present id_token for authentication.
Activity
ewan-chalmers commentedon Nov 12, 2025
I submitted a PR with this feature