Commit 6ca051fa by Clinton Blackburn Committed by GitHub

Updated JWT authentication settings for Credentials Service (#3659)

This brings the service inline with our other services.

ECOM-6938
parent 38156281
...@@ -154,6 +154,16 @@ NGINX_CREDENTIALS_GUNICORN_HOSTS: ...@@ -154,6 +154,16 @@ NGINX_CREDENTIALS_GUNICORN_HOSTS:
CREDENTIALS_EXTRA_APPS: [] CREDENTIALS_EXTRA_APPS: []
CREDENTIALS_JWT_AUDIENCE: '{{ EDXAPP_JWT_AUDIENCE | default("SET-ME-PLEASE") }}'
CREDENTIALS_JWT_ISSUER: '{{ CREDENTIALS_OAUTH_URL_ROOT }}'
CREDENTIALS_JWT_SECRET_KEY: '{{ EDXAPP_JWT_SECRET_KEY | default("lms-secret") }}'
CREDENTIALS_JWT_AUTH:
JWT_ISSUERS:
- AUDIENCE: '{{ CREDENTIALS_JWT_AUDIENCE }}'
ISSUER: '{{ CREDENTIALS_JWT_ISSUER }}'
SECRET_KEY: '{{ CREDENTIALS_JWT_SECRET_KEY }}'
CREDENTIALS_SERVICE_CONFIG: CREDENTIALS_SERVICE_CONFIG:
SECRET_KEY: '{{ CREDENTIALS_SECRET_KEY }}' SECRET_KEY: '{{ CREDENTIALS_SECRET_KEY }}'
TIME_ZONE: '{{ CREDENTIALS_TIME_ZONE }}' TIME_ZONE: '{{ CREDENTIALS_TIME_ZONE }}'
...@@ -198,6 +208,8 @@ CREDENTIALS_SERVICE_CONFIG: ...@@ -198,6 +208,8 @@ CREDENTIALS_SERVICE_CONFIG:
USER_JWT_AUDIENCE: '{{ CREDENTIALS_USER_API_JWT_AUDIENCE }}' USER_JWT_AUDIENCE: '{{ CREDENTIALS_USER_API_JWT_AUDIENCE }}'
USER_JWT_SECRET_KEY: '{{ CREDENTIALS_USER_API_JWT_SECRET_KEY }}' USER_JWT_SECRET_KEY: '{{ CREDENTIALS_USER_API_JWT_SECRET_KEY }}'
JWT_AUTH: '{{ CREDENTIALS_JWT_AUTH }}'
# #
# vars are namespace with the module name. # vars are namespace with the module name.
# #
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment