From 5d35596c12fc7b3dad9c644d1faef58e62b80544 Mon Sep 17 00:00:00 2001 From: David Gillespie Date: Wed, 8 May 2024 21:29:43 -0600 Subject: [PATCH] add refresh token re-issue on refresh to keep thing rolling for users that are active --- core/settings/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/core/settings/__init__.py b/core/settings/__init__.py index a080dd0..a62d690 100644 --- a/core/settings/__init__.py +++ b/core/settings/__init__.py @@ -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, }