You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue with Django-rest-framework-JWT is you cannot use an expired token to refresh. So I can't save a token to the keychain then on next app startup (within refresh delta e.g. 30 days) grab a new one after the first 401.
The issue with Django-rest-framework-JWT is you cannot use an expired token to refresh. So I can't save a token to the keychain then on next app startup (within refresh delta e.g. 30 days) grab a new one after the first 401.
Not to mention Django-rest-framework-JWT hasn't been updated in 2 years!
It seems like poor design but luckily there is a different library Django-rest-framework-simpleJWT that implements separate access and refresh tokens.
Need to set this up in environment and django API settings.
The text was updated successfully, but these errors were encountered: