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
OpenEdx
configuration
Commits
31c4eb3e
Commit
31c4eb3e
authored
7 years ago
by
Clinton Blackburn
Committed by
Clinton Blackburn
7 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated credentials to use client-specific JWT issuer
LEARNER-3165
parent
ebf3c163
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
playbooks/roles/credentials/defaults/main.yml
+10
-0
playbooks/roles/credentials/meta/main.yml
+1
-0
No files found.
playbooks/roles/credentials/defaults/main.yml
View file @
31c4eb3e
...
@@ -57,6 +57,16 @@ CREDENTIALS_SOCIAL_AUTH_EDX_OIDC_KEY: 'credentials-key'
...
@@ -57,6 +57,16 @@ CREDENTIALS_SOCIAL_AUTH_EDX_OIDC_KEY: 'credentials-key'
CREDENTIALS_SOCIAL_AUTH_EDX_OIDC_SECRET
:
'
credentials-secret'
CREDENTIALS_SOCIAL_AUTH_EDX_OIDC_SECRET
:
'
credentials-secret'
CREDENTIALS_SOCIAL_AUTH_REDIRECT_IS_HTTPS
:
false
CREDENTIALS_SOCIAL_AUTH_REDIRECT_IS_HTTPS
:
false
# TODO Remove this override when LEARNER-3441 is completed.
CREDENTIALS_JWT_AUTH
:
JWT_ISSUERS
:
-
AUDIENCE
:
'
{{
COMMON_JWT_AUDIENCE
}}'
ISSUER
:
'
{{
COMMON_JWT_ISSUER
}}'
SECRET_KEY
:
'
{{
COMMON_JWT_SECRET_KEY
}}'
-
AUDIENCE
:
'
{{
CREDENTIALS_SOCIAL_AUTH_EDX_OIDC_KEY
}}'
ISSUER
:
'
{{
COMMON_JWT_ISSUER
}}'
SECRET_KEY
:
'
{{
CREDENTIALS_SOCIAL_AUTH_EDX_OIDC_SECRET
}}'
CREDENTIALS_SERVICE_USER
:
'
credentials_service_user'
CREDENTIALS_SERVICE_USER
:
'
credentials_service_user'
# NOTE: The Credentials Service reads the FILE_STORAGE_BACKEND setting, stored in the CREDENTIALS_FILE_STORAGE_BACKEND
# NOTE: The Credentials Service reads the FILE_STORAGE_BACKEND setting, stored in the CREDENTIALS_FILE_STORAGE_BACKEND
...
...
This diff is collapsed.
Click to expand it.
playbooks/roles/credentials/meta/main.yml
View file @
31c4eb3e
...
@@ -40,3 +40,4 @@ dependencies:
...
@@ -40,3 +40,4 @@ dependencies:
edx_django_service_automated_users
:
'
{{
CREDENTIALS_AUTOMATED_USERS
}}'
edx_django_service_automated_users
:
'
{{
CREDENTIALS_AUTOMATED_USERS
}}'
edx_django_service_cors_whitelist
:
'
{{
CREDENTIALS_CORS_ORIGIN_WHITELIST
}}'
edx_django_service_cors_whitelist
:
'
{{
CREDENTIALS_CORS_ORIGIN_WHITELIST
}}'
edx_django_service_post_migrate_commands
:
'
{{
credentials_post_migrate_commands
}}'
edx_django_service_post_migrate_commands
:
'
{{
credentials_post_migrate_commands
}}'
edx_django_service_jwt_auth
:
'
{{
CREDENTIALS_JWT_AUTH
}}'
This diff is collapsed.
Click to expand it.
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