nrbnlulu / strawberry-django-auth

Authentication system for django using strawberry
https://nrbnlulu.github.io/strawberry-django-auth/
MIT License
61 stars 28 forks source link

JWT_VERIFY_EXPIRATION #470

Open maciejdudek92 opened 6 months ago

maciejdudek92 commented 6 months ago

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 commented 6 months ago

How about setting a timedelta of an year?

maciejdudek92 commented 6 months ago

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 commented 6 months ago

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