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
07eaf966
Commit
07eaf966
authored
Jan 06, 2016
by
Renzo Lucioni
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2679 from edx/renzo/ecomworker-jwt-issuer
Fix value of ecomworker JWT_ISSUER setting
parents
eb78a7e7
aea24835
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
playbooks/roles/ecommerce/defaults/main.yml
+2
-2
playbooks/roles/ecomworker/defaults/main.yml
+1
-1
No files found.
playbooks/roles/ecommerce/defaults/main.yml
View file @
07eaf966
...
...
@@ -43,13 +43,13 @@ ECOMMERCE_LANGUAGE_CODE: 'en-us'
ECOMMERCE_EDX_API_KEY
:
'
PUT_YOUR_API_KEY_HERE'
# This should match the value set for edxapp
ECOMMERCE_ECOMMERCE_URL_ROOT
:
'
http://localhost:8002'
ECOMMERCE_LMS_URL_ROOT
:
'
http://127.0.0.1:8000'
ECOMMERCE_JWT_SECRET_KEY
:
'
SET-ME-PLEASE'
# This should match the value set for edxapp
ECOMMERCE_JWT_SECRET_KEY
:
'
SET-ME-PLEASE'
# This should match the value set for edxapp
ECOMMERCE_JWT_ALGORITHM
:
'
HS256'
ECOMMERCE_JWT_VERIFY_EXPIRATION
:
true
ECOMMERCE_JWT_DECODE_HANDLER
:
'
ecommerce.extensions.api.handlers.jwt_decode_handler'
ECOMMERCE_JWT_ISSUERS
:
-
'
{{
ECOMMERCE_LMS_URL_ROOT
}}/oauth2'
-
'
ecommerce_worker'
-
'
ecommerce_worker'
# Must match the value of JWT_ISSUER configured for the ecommerce worker.
# Used to automatically configure OAuth2 Client
ECOMMERCE_SOCIAL_AUTH_EDX_OIDC_KEY
:
'
ecommerce-key'
...
...
playbooks/roles/ecomworker/defaults/main.yml
View file @
07eaf966
...
...
@@ -54,7 +54,7 @@ ECOMMERCE_WORKER_MAX_FULFILLMENT_RETRIES: 11
# Ecommerce Worker settings
ECOMMERCE_WORKER_JWT_SECRET_KEY
:
'
insecure-secret-key'
ECOMMERCE_WORKER_JWT_ISSUER
:
'
{{
ecommerce_worker_service_name
}}
'
ECOMMERCE_WORKER_JWT_ISSUER
:
'
ecommerce_worker
'
ECOMMERCE_WORKER_SERVICE_CONFIG
:
BROKER_URL
:
'
{{
ECOMMERCE_WORKER_BROKER_URL
}}'
...
...
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