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
27d585e0
Commit
27d585e0
authored
Jul 25, 2016
by
Renzo Lucioni
Committed by
GitHub
Jul 25, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #13085 from edx/renzo/devstack-jwt
Configure JWT auth when running Studio in devstack
parents
450a0bc9
29672370
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
cms/envs/devstack.py
+6
-0
lms/envs/devstack.py
+0
-1
No files found.
cms/envs/devstack.py
View file @
27d585e0
...
...
@@ -123,6 +123,12 @@ REQUIRE_DEBUG = DEBUG
########################### OAUTH2 #################################
OAUTH_OIDC_ISSUER
=
'http://127.0.0.1:8000/oauth2'
JWT_AUTH
.
update
({
'JWT_SECRET_KEY'
:
'lms-secret'
,
'JWT_ISSUER'
:
'http://127.0.0.1:8000/oauth2'
,
'JWT_AUDIENCE'
:
'lms-key'
,
})
###############################################################################
# See if the developer has any local overrides.
if
os
.
path
.
isfile
(
join
(
dirname
(
abspath
(
__file__
)),
'private.py'
)):
...
...
lms/envs/devstack.py
View file @
27d585e0
...
...
@@ -264,7 +264,6 @@ Ld/IRK0DgpGP5EJRwpKsDYe/UQ==
-----END PRIVATE KEY-----"""
JWT_AUTH
.
update
({
'JWT_ALGORITHM'
:
'HS256'
,
'JWT_SECRET_KEY'
:
'lms-secret'
,
'JWT_ISSUER'
:
'http://127.0.0.1:8000/oauth2'
,
'JWT_AUDIENCE'
:
'lms-key'
,
...
...
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