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

disable VERIFY #596

Open
domdinicola opened this issue Jul 29, 2022 · 1 comment
Open

disable VERIFY #596

domdinicola opened this issue Jul 29, 2022 · 1 comment

Comments

@domdinicola
Copy link
Contributor

do you think is possible to "restore" the possibility to disable the verification?
when instantiating the token in JWTAuthentication.get_validated_token there's no way to set the verify parameter even if the token is expecting it in the init, maybe we can read it from the SIMPLE_JWT configuration

@Andrew-Chen-Wang
Copy link
Member

Tl;dr inherit the authentication class and have DRF point to it yourself. I think this is a niche use case, but a PR is always welcome.

SimpleJWT isn't the best when it comes to extensibility since there are a ton of configurations that we set ourselves rather than reading from kwargs in the settings. Not looking to solve this anytime soon either since don't have the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants