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

fix: Add support for EdDSA and other algorithms in jwt.algorithms.requires_cryptography (#822) #823

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fossy-dude
Copy link

Related issue: #822

I have extended the list of ALLOWED_ALGORITHMS to include a few missing algorithms like {'ES256K', 'ES521', 'EdDSA', 'PS256', 'PS384', 'PS512'}

@Andrew-Chen-Wang
Copy link
Member

@fossy-dude You can monkeypatch by doing

from simplejwt import backends
backends.ALLOWED_ALGORITHMS.add({"SET", "OF", "NEW", "ALGOS"})

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.

2 participants