Commit 8ede3a53 by ayub-khan

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.
parent a7c4ddfe
......@@ -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',
......
Markdown is supported
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