Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
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
configuration
Commits
ee748f0d
Commit
ee748f0d
authored
May 04, 2016
by
Bill DeRusha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add JWT_AUTH config
parent
a1b75e59
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
playbooks/roles/discovery/defaults/main.yml
+15
-0
No files found.
playbooks/roles/discovery/defaults/main.yml
View file @
ee748f0d
...
...
@@ -77,6 +77,19 @@ DISCOVERY_ORGANIZATIONS_API_URL: '{{ DISCOVERY_LMS_ROOT_URL }}/api/organizations
DISCOVERY_MARKETING_API_URL
:
'
https://example.org/api/catalog/v2/'
DISCOVERY_MARKETING_URL_ROOT
:
'
https://example.org/'
DISCOVERY_JWT_ALGORITHM
:
'
HS256'
DISCOVERY_JWT_AUDIENCE
:
'
{{
DISCOVERY_SOCIAL_AUTH_EDX_OIDC_KEY
}}'
DISCOVERY_JWT_ISSUER
:
'
{{
DISCOVERY_OAUTH_URL_ROOT
}}'
DISCOVERY_JWT_SECRET_KEY
:
'
{{
DISCOVERY_SOCIAL_AUTH_EDX_OIDC_SECRET
}}'
DISCOVERY_JWT_DECODE_HANDLER
:
'
edx_rest_framework_extensions.utils.jwt_decode_handler'
DISCOVERY_JWT_AUTH
:
JWT_ALGORITHM
:
'
{{
DISCOVERY_JWT_ALGORITHM
}}'
JWT_AUDIENCE
:
'
{{
DISCOVERY_JWT_AUDIENCE
}}'
JWT_ISSUER
:
'
{{
DISCOVERY_JWT_ISSUER
}}'
JWT_SECRET_KEY
:
'
{{
DISCOVERY_JWT_SECRET_KEY
}}'
JWT_DECODE_HANDLER
:
'
{{
DISCOVERY_JWT_DECODE_HANDLER
}}'
DISCOVERY_SERVICE_CONFIG
:
SECRET_KEY
:
'
{{
DISCOVERY_SECRET_KEY
}}'
TIME_ZONE
:
'
{{
DISCOVERY_TIME_ZONE
}}'
...
...
@@ -88,6 +101,8 @@ DISCOVERY_SERVICE_CONFIG:
SOCIAL_AUTH_EDX_OIDC_URL_ROOT
:
'
{{
DISCOVERY_OAUTH_URL_ROOT
}}'
SOCIAL_AUTH_REDIRECT_IS_HTTPS
:
'
{{
DISCOVERY_SOCIAL_AUTH_REDIRECT_IS_HTTPS
}}'
JWT_AUTH
:
'
{{
DISCOVERY_JWT_AUTH
}}'
STATIC_ROOT
:
"
{{
COMMON_DATA_DIR
}}/{{
discovery_service_name
}}/staticfiles"
# db config
DATABASE_OPTIONS
:
...
...
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