add refresh token re-issue on refresh to keep thing rolling for users that are active

This commit is contained in:
David Gillespie 2024-05-08 21:29:43 -06:00
parent 8eb3190972
commit 5d35596c12

View File

@ -127,6 +127,7 @@ REST_USE_JWT = True
SIMPLE_JWT = {
'ACCESS_TOKEN_LIFETIME': timedelta(days=1),
'REFRESH_TOKEN_LIFETIME': timedelta(days=30),
'ROTATE_REFRESH_TOKENS': True,
}