Skip to content

Commit

Permalink
featrue: rotate refresh tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
eldpswp99 committed Oct 12, 2023
1 parent f02b710 commit 6e72466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/backend/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
SIMPLE_JWT = {
"ACCESS_TOKEN_LIFETIME": timedelta(days=1),
"SLIDING_TOKEN_REFRESH_LIFETIME": timedelta(days=30),
"ROTATE_REFRESH_TOKENS": False,
"ROTATE_REFRESH_TOKENS": True,
"BLACKLIST_AFTER_ROTATION": True,
"ALGORITHM": "HS256",
"SIGNING_KEY": SECRET_KEY,
Expand Down

0 comments on commit 6e72466

Please sign in to comment.