Skip to content
New issue

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

chore: handle invalid token used with RS256 algorithm #10

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

jamesthedove
Copy link
Contributor

This handles cases where a HS256 token is passed as an header while the server is configured for RS256.
fixes nearform/fastify-auth0-verify#317

Copy link
Member

@simoneb simoneb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👌

@jamesthedove jamesthedove merged commit 1821528 into master Aug 9, 2023
5 checks passed
@jamesthedove jamesthedove deleted the handle-invalid-token-for-rs256 branch August 9, 2023 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

request.jwtDecode is not a function error
2 participants