Skip to content

Commit 87a56b8

Browse files
authored
config: update REFRESH_TOKEN_EXPIRE_SECONDS to 30 days (#4419)
* config: update REFRESH_TOKEN_EXPIRE_SECONDS to 30 days * chore: bump ol-social-auth version
1 parent 4654dc7 commit 87a56b8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

dockerfiles/openedx-edxapp/pip_package_lists/master/mitxonline.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ol-openedx-course-structure-api
1212
ol-openedx-logging
1313
ol-openedx-sentry
1414
openedx-scorm-xblock
15-
ol-social-auth==0.2.0
15+
ol-social-auth==0.2.1
1616
pydantic-settings==2.13.1
1717

1818
# Experimental Plugins for AI features

src/ol_infrastructure/applications/edxapp/config_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def build_base_general_config() -> ConfigDict:
206206
"DEFAULT_NOTIFICATION_ICON_URL": "",
207207
"OAUTH2_PROVIDER": {
208208
"OAUTH2_VALIDATOR_CLASS": "openedx.core.djangoapps.oauth_dispatch.dot_overrides.validators.EdxOAuth2Validator",
209-
"REFRESH_TOKEN_EXPIRE_SECONDS": 7776000,
209+
"REFRESH_TOKEN_EXPIRE_SECONDS": 2592000, # 30 days
210210
"SCOPES_BACKEND_CLASS": "openedx.core.djangoapps.oauth_dispatch.scopes.ApplicationModelScopes",
211211
"SCOPES": {
212212
"read": "Read access",

0 commit comments

Comments
 (0)