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

JWT_VERIFY_EXPIRATION #470

Open
maciejdudek92 opened this issue Feb 28, 2024 · 3 comments
Open

JWT_VERIFY_EXPIRATION #470

maciejdudek92 opened this issue Feb 28, 2024 · 3 comments

Comments

@maciejdudek92
Copy link

In Django-graphql-jwt was something like JWT_VERIFY_EXPIRATION, but in strawberry-django-auth i cannot find anything similar to this. How can I omit checking the token expiration date?

@nrbnlulu
Copy link
Owner

nrbnlulu commented Feb 28, 2024

How about setting a timedelta of an year?

@maciejdudek92
Copy link
Author

This is an option that I'm using right now. I thought that maybe there is something similar to JWT_VERIFY_EXPIRATION but was not documented.
Anyway, it would be nice to have an option that the token will never expire like in the library I mentioned above ;)

@nrbnlulu
Copy link
Owner

Although I am not a fan of this setting PR is welcomed 😊

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

No branches or pull requests

2 participants