Commit 833985f0 by Max Rothman

Address @jimabramson's concern (#2849)

parent e4f7f1a3
......@@ -47,6 +47,7 @@ CREDENTIALS_CACHES:
CREDENTIALS_DJANGO_SETTINGS_MODULE: "credentials.settings.production"
CREDENTIALS_DOMAIN: 'credentials'
CREDENTIALS_URL_ROOT: 'http://{{ CREDENTIALS_DOMAIN }}:18150'
CREDENTIALS_OAUTH_URL_ROOT: 'http://127.0.0.1:8000'
CREDENTIALS_SECRET_KEY: 'SET-ME-TO-A-UNIQUE-LONG-RANDOM-STRING'
......@@ -223,8 +224,6 @@ credentials_requirements:
- production.txt
- optional.txt
credentials_url_root: 'http://{{ CREDENTIALS_DOMAIN }}:18150'
#
# OS packages
#
......
......@@ -37,7 +37,7 @@ oauth_client_setup_oauth2_clients:
}
- {
name: "{{ credentials_service_name | default('None') }}",
url_root: "{{ credentials_url_root }}",
url_root: "{{ CREDENTIALS_URL_ROOT }}",
id: "{{ CREDENTIALS_SOCIAL_AUTH_EDX_OIDC_KEY }}",
secret: "{{ CREDENTIALS_SOCIAL_AUTH_EDX_OIDC_SECRET }}"
}
......
......@@ -278,6 +278,7 @@ PROGRAMS_SOCIAL_AUTH_REDIRECT_IS_HTTPS: true
CREDENTIALS_LMS_URL_ROOT: "https://${deploy_host}"
CREDENTIALS_DOMAIN: "credentials-${deploy_host}"
CREDENTIALS_URL_ROOT: "http://{{ CREDENTIALS_DOMAIN }}"
CREDENTIALS_SOCIAL_AUTH_REDIRECT_IS_HTTPS: true
COURSE_DISCOVERY_ECOMMERCE_API_URL: "https://ecommerce-${deploy_host}/api/v2"
......
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