Skip to content
Snippets Groups Projects
Unverified Commit 5a9f4ea3 authored by Kevin Falcone's avatar Kevin Falcone Committed by GitHub
Browse files

Merge pull request #18555 from edx/jibsheet/settle-DOT-expiration-timeframe

Update token expiration for DOT tokens
parents eded3c13 069307c9
Branches
Tags
No related merge requests found
......@@ -508,7 +508,8 @@ OAUTH2_DEFAULT_SCOPES = {
OAUTH2_PROVIDER = {
'OAUTH2_VALIDATOR_CLASS': 'openedx.core.djangoapps.oauth_dispatch.dot_overrides.validators.EdxOAuth2Validator',
'REFRESH_TOKEN_EXPIRE_SECONDS': 20160,
# 6 months and then we expire refresh tokens using edx_clear_expired_tokens (length is mobile app driven)
'REFRESH_TOKEN_EXPIRE_SECONDS': 15552000,
'SCOPES_BACKEND_CLASS': 'openedx.core.djangoapps.oauth_dispatch.scopes.ApplicationModelScopes',
'SCOPES': dict(OAUTH2_DEFAULT_SCOPES, **{
'grades:read': _('Retrieve your grades for your enrolled courses'),
......
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