Fakultas Ilmu Komputer UI

Commit ec79d03d authored by annisadevin's avatar annisadevin
Browse files

Set lifetime access token

parent c818da8e
Pipeline #124416 passed with stages
in 4 minutes and 7 seconds
......@@ -184,7 +184,7 @@ REST_FRAMEWORK = {
AUTH_USER_MODEL = "oauth.UserAccount"
SIMPLE_JWT = {
'ACCESS_TOKEN_LIFETIME': timedelta(minutes=5),
'ACCESS_TOKEN_LIFETIME': timedelta(minutes=60),
'REFRESH_TOKEN_LIFETIME': timedelta(days=1),
'ROTATE_REFRESH_TOKENS': True,
'BLACKLIST_AFTER_ROTATION': True,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment