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

feat: allow specifying optional algorithms during verification #32

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

tanmaykm
Copy link
Owner

This allows an optional algorithms keyword argument to be specified for validate! and with_valid_jwt methods that can contain a list of algorithms to accept. If the JWT is not signed with any of the supplied algorithms, the validation fails.

fixes #28

This allows an optional `algorithms` keyword argument to be specified for `validate!` and `with_valid_jwt` methods that can contain a list of algorithms to accept. If the JWT is not signed with any of the supplied algorithms, the validation fails.
@tanmaykm tanmaykm merged commit a84e31e into master Jun 19, 2024
9 checks passed
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.

Specify algorithm when validating token?
1 participant