Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
343bb3e9
Commit
343bb3e9
authored
Apr 01, 2016
by
Usman Khalid
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #12017 from edx/notes-jwt-issue
Removing check from edx notes settings for OAUTH token timeout.
parents
cc4349e9
ce142eb3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
lms/envs/aws.py
+1
-0
lms/envs/common.py
+2
-3
No files found.
lms/envs/aws.py
View file @
343bb3e9
...
...
@@ -621,6 +621,7 @@ if FEATURES.get('ENABLE_OAUTH2_PROVIDER'):
OAUTH_EXPIRE_DELTA_PUBLIC
=
datetime
.
timedelta
(
days
=
ENV_TOKENS
.
get
(
'OAUTH_EXPIRE_PUBLIC_CLIENT_DAYS'
,
OAUTH_EXPIRE_PUBLIC_CLIENT_DAYS
)
)
OAUTH_ID_TOKEN_EXPIRATION
=
ENV_TOKENS
.
get
(
'OAUTH_ID_TOKEN_EXPIRATION'
,
OAUTH_ID_TOKEN_EXPIRATION
)
##### ADVANCED_SECURITY_CONFIG #####
...
...
lms/envs/common.py
View file @
343bb3e9
...
...
@@ -2582,9 +2582,8 @@ COURSE_ABOUT_VISIBILITY_PERMISSION = 'see_exists'
# Enrollment API Cache Timeout
ENROLLMENT_COURSE_DETAILS_CACHE_TIMEOUT
=
60
# for Student Notes we would like to avoid too frequent token refreshes (default is 30 seconds)
if
FEATURES
[
'ENABLE_EDXNOTES'
]:
OAUTH_ID_TOKEN_EXPIRATION
=
60
*
60
OAUTH_ID_TOKEN_EXPIRATION
=
60
*
60
# These tabs are currently disabled
NOTES_DISABLED_TABS
=
[
'course_structure'
,
'tags'
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment