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
81c26e02
Commit
81c26e02
authored
Jan 04, 2017
by
Edward Zarecor
Committed by
GitHub
Jan 04, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3579 from edx/e0d/allow-overriding-leeway
Pull leeway out into var
parents
fc5f4b7c
6f93dc44
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
playbooks/roles/ecommerce/defaults/main.yml
+2
-2
No files found.
playbooks/roles/ecommerce/defaults/main.yml
View file @
81c26e02
...
...
@@ -55,7 +55,7 @@ ECOMMERCE_JWT_DECODE_HANDLER: 'ecommerce.extensions.api.handlers.jwt_decode_hand
ECOMMERCE_JWT_ISSUERS
:
-
'
{{
ECOMMERCE_LMS_URL_ROOT
}}/oauth2'
-
'
ecommerce_worker'
# Must match the value of JWT_ISSUER configured for the ecommerce worker.
ECOMMERCE_JWT_LEEWAY
:
1
# NOTE: We have an array of keys to allow for support of multiple when, for example,
# we change keys. This will ensure we continue to operate with JWTs issued signed with the old key
# while migrating to the new key.
...
...
@@ -153,7 +153,7 @@ ECOMMERCE_SERVICE_CONFIG:
JWT_SECRET_KEY
:
'
{{
ECOMMERCE_JWT_SECRET_KEY
}}'
JWT_ALGORITHM
:
'
{{
ECOMMERCE_JWT_ALGORITHM
}}'
JWT_VERIFY_EXPIRATION
:
'
{{
ECOMMERCE_JWT_VERIFY_EXPIRATION
}}'
JWT_LEEWAY
:
1
JWT_LEEWAY
:
'
{{
ECOMMERCE_JWT_LEEWAY
}}'
JWT_DECODE_HANDLER
:
'
{{
ECOMMERCE_JWT_DECODE_HANDLER
}}'
JWT_ISSUERS
:
'
{{
ECOMMERCE_JWT_ISSUERS
}}'
JWT_SECRET_KEYS
:
'
{{
ECOMMERCE_JWT_SECRET_KEYS
}}'
...
...
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