config: update REFRESH_TOKEN_EXPIRE_SECONDS to 30 days#4419
Merged
Anas12091101 merged 2 commits intomainfrom Apr 21, 2026
Merged
config: update REFRESH_TOKEN_EXPIRE_SECONDS to 30 days#4419Anas12091101 merged 2 commits intomainfrom
Anas12091101 merged 2 commits intomainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Open edX (edxapp) OAuth refresh-token lifetime configuration to match the intended 30-day expiration window.
Changes:
- Changed
OAUTH2_PROVIDER.REFRESH_TOKEN_EXPIRE_SECONDSfrom 90 days (7,776,000s) to 30 days (2,592,000s). - Added an inline comment clarifying the duration (“30 days”).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
Author
|
Converted the PR to a draft since we’ll need to bump the ol-social-auth version after adding the task in the plugin. I think it makes sense to include that in this PR as well. |
blarghmatey
approved these changes
Apr 1, 2026
Contributor
Author
|
We should wait for mitodl/open-edx-plugins#778 to be merged before merging this PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What are the relevant tickets?
https://github.com/mitodl/hq/issues/10116
Description (What does it do?)
This PR updates the REFRESH_TOKEN_EXPIRE_SECONDS in edX to 30 days, aligning it with other apps.
Screenshots (if appropriate):
How can this be tested?
Additional Context