nrbnlulu / strawberry-django-auth

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

JWT_VERIFY_EXPIRATION #470

Open maciejdudek92 opened 8 months ago

maciejdudek92 commented 8 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 8 months ago

How about setting a timedelta of an year?

maciejdudek92 commented 8 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 8 months ago

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