Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
course-discovery
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
course-discovery
Commits
42ba0816
Commit
42ba0816
authored
Jun 09, 2016
by
Joyce Zhu
Committed by
GitHub
Jun 09, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #126 from edx/joycezhu/fix-settings
Fix default local settings
parents
9e7dd3f5
4c98aa07
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
course_discovery/settings/local.py
+5
-2
course_discovery/settings/private.py.example
+0
-4
No files found.
course_discovery/settings/local.py
View file @
42ba0816
...
...
@@ -55,8 +55,11 @@ SOCIAL_AUTH_EDX_OIDC_ID_TOKEN_DECRYPTION_KEY = SOCIAL_AUTH_EDX_OIDC_SECRET
ENABLE_AUTO_AUTH
=
True
JWT_AUTH
[
'JWT_SECRET_KEY'
]
=
'course-discovery-jwt-secret-key'
JWT_AUTH
.
update
({
'JWT_SECRET_KEY'
:
'lms-secret'
,
'JWT_ISSUER'
:
'http://127.0.0.1:8000/oauth2'
,
'JWT_AUDIENCE'
:
'lms-key'
,
})
#####################################################################
# Lastly, see if the developer has any local overrides.
...
...
course_discovery/settings/private.py.example
View file @
42ba0816
...
...
@@ -2,7 +2,3 @@ SOCIAL_AUTH_EDX_OIDC_KEY = 'replace-me'
SOCIAL_AUTH_EDX_OIDC_SECRET = 'replace-me'
SOCIAL_AUTH_EDX_OIDC_URL_ROOT = 'http://127.0.0.1:8000/oauth'
SOCIAL_AUTH_EDX_OIDC_ID_TOKEN_DECRYPTION_KEY = SOCIAL_AUTH_EDX_OIDC_SECRET
EDX_DRF_EXTENSIONS = {
'OAUTH2_USER_INFO_URL': 'http://127.0.0.1:8000/oauth2/user_info',
}
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