6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2025-01-11 09:35:06 +00:00

Fix oauth with services such as discovery

See https://discuss.overhang.io/t/problem-occured-during-checkout-please-contact-support/491/31
This commit is contained in:
Régis Behmo 2020-04-29 15:51:36 +02:00
parent 9043450de8
commit aef0ede0ec
4 changed files with 3 additions and 4 deletions

View File

@ -4,6 +4,7 @@ Note: Breaking changes between versions are indicated by "💥".
## Unreleased
- [Bugfix] Fix oauth2 authentication with 3rd-party services, such as discovery
- [Bugfix] Upgrade scorm xblock to solve caching issue
## v3.12.1 (2020-04-27)

View File

@ -3,7 +3,7 @@
"BOOK_URL": "",
"LOG_DIR": "/openedx/data/logs",
"LOGGING_ENV": "sandbox",
"OAUTH_OIDC_ISSUER": "http://localhost:8000/oauth2",
"OAUTH_OIDC_ISSUER": "{{ JWT_COMMON_ISSUER }}",
"PLATFORM_NAME": "{{ PLATFORM_NAME }}",
"FEATURES": {
{{ patch("common-env-features", separator=",\n", suffix=",")|indent(4) }}

View File

@ -3,7 +3,7 @@
"BOOK_URL": "",
"LOG_DIR": "/openedx/data/logs",
"LOGGING_ENV": "sandbox",
"OAUTH_OIDC_ISSUER": "http://localhost:8000/oauth2",
"OAUTH_OIDC_ISSUER": "{{ JWT_COMMON_ISSUER }}",
"PLATFORM_NAME": "{{ PLATFORM_NAME }}",
"FEATURES": {
{{ patch("common-env-features", separator=",\n", suffix=",")|indent(4) }}

View File

@ -4,8 +4,6 @@ from lms.envs.devstack import *
{% include "apps/openedx/settings/partials/common_lms.py" %}
OAUTH_OIDC_ISSUER = "{{ JWT_COMMON_ISSUER }}"
# Setup correct webpack configuration file for development
WEBPACK_CONFIG_PATH = "webpack.dev.config.js"