Commit 04594a6e by Clinton Blackburn

Added OAUTH2_ACCESS_TOKEN_URL setting to discovery service

ECOM-3895
parent 0aea0d3e
......@@ -56,6 +56,7 @@ DISCOVERY_VERSION: "master"
DISCOVERY_DJANGO_SETTINGS_MODULE: "course_discovery.settings.production"
DISCOVERY_URL_ROOT: 'http://discovery:18381'
DISCOVERY_OAUTH_URL_ROOT: '{{ EDXAPP_LMS_ISSUER | default("http://127.0.0.1:8000/oauth2") }}'
DISCOVERY_OAUTH2_ACCESS_TOKEN_URL: '{{ DISCOVERY_OAUTH_URL_ROOT }}/access_token'
DISCOVERY_SECRET_KEY: 'Your secret key here'
DISCOVERY_TIME_ZONE: 'UTC'
......@@ -82,6 +83,8 @@ DISCOVERY_SERVICE_CONFIG:
SOCIAL_AUTH_EDX_OIDC_URL_ROOT: '{{ DISCOVERY_OAUTH_URL_ROOT }}'
SOCIAL_AUTH_REDIRECT_IS_HTTPS: '{{ DISCOVERY_SOCIAL_AUTH_REDIRECT_IS_HTTPS }}'
OAUTH2_ACCESS_TOKEN_URL: '{{ DISCOVERY_OAUTH2_ACCESS_TOKEN_URL }}'
STATIC_ROOT: "{{ COMMON_DATA_DIR }}/{{ discovery_service_name }}/staticfiles"
# db config
DATABASE_OPTIONS:
......
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