Merge pull request #16341 from edx/LEARNER-717-3

LEARNER-717 Add Refresh Token Expiration time
This commit is contained in:
Ayub khan
2017-10-26 19:07:37 +05:00
committed by GitHub

View File

@@ -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',