From 8ede3a53b3d50b34e990b2680ee9e6017b3fa4a4 Mon Sep 17 00:00:00 2001 From: ayub-khan Date: Wed, 25 Oct 2017 20:37:42 +0500 Subject: [PATCH] Added REFRESH_TOKEN_EXPIRE_SECONDS=20160 When edx_clear_expired_tokens command will run it will clear all refresh,access tokens and grants expired before 2 weeks. --- lms/envs/common.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lms/envs/common.py b/lms/envs/common.py index b04a2b637c..2bbe2d05ce 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -510,6 +510,7 @@ OAUTH_EXPIRE_PUBLIC_CLIENT_DAYS = 30 OAUTH2_PROVIDER = { 'OAUTH2_VALIDATOR_CLASS': 'openedx.core.djangoapps.oauth_dispatch.dot_overrides.EdxOAuth2Validator', + 'REFRESH_TOKEN_EXPIRE_SECONDS': 20160, 'SCOPES': { 'read': 'Read scope', 'write': 'Write scope',