We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Many OAuth2 access tokens seem to be JWT-encoded and I often decode them to obtain an user ID (e.g. from the 'sub' field of JWT). This is not strictly standard but the industry seems to be moving in this direction https://datatracker.ietf.org/doc/html/draft-ietf-oauth-access-token-jwt-10
Using something like jwt package perhaps we could add a helper function OAuth2 -> Validation [Text] JWT or similar
jwt
OAuth2 -> Validation [Text] JWT
The text was updated successfully, but these errors were encountered:
I've made a PR to jwt puffnfresh/haskell-jwt#7 that if accepted could come in handy here as well.
Sorry, something went wrong.
Good point! I'll be thinking to create another package like hoauth2-jwt which has helpers for access token and ID token validation if it's JWT.
hoauth2-jwt
freizl
No branches or pull requests
Many OAuth2 access tokens seem to be JWT-encoded and I often decode them to obtain an user ID (e.g. from the 'sub' field of JWT). This is not strictly standard but the industry seems to be moving in this direction https://datatracker.ietf.org/doc/html/draft-ietf-oauth-access-token-jwt-10
Using something like
jwt
package perhaps we could add a helper functionOAuth2 -> Validation [Text] JWT
or similarThe text was updated successfully, but these errors were encountered: