diff --git a/tutor/templates/apps/openedx/config/cms.env.json b/tutor/templates/apps/openedx/config/cms.env.json index b85bea8..45a83d6 100644 --- a/tutor/templates/apps/openedx/config/cms.env.json +++ b/tutor/templates/apps/openedx/config/cms.env.json @@ -7,6 +7,7 @@ "PLATFORM_NAME": "{{ PLATFORM_NAME }}", "FEATURES": { "PREVIEW_LMS_BASE": "preview.{{ LMS_HOST }}", + "DISABLE_STUDIO_SSO_OVER_LMS": {{ "false" if ACTIVATE_HTTPS else "true" }}, "ENABLE_COURSEWARE_INDEX": true, "ENABLE_LIBRARY_INDEX": true, "ENABLE_EDXNOTES": {{ "true" if ACTIVATE_NOTES else "false" }} diff --git a/tutor/templates/apps/openedx/config/lms.env.json b/tutor/templates/apps/openedx/config/lms.env.json index 9ad7301..f983e51 100644 --- a/tutor/templates/apps/openedx/config/lms.env.json +++ b/tutor/templates/apps/openedx/config/lms.env.json @@ -43,6 +43,8 @@ "EDXNOTES_INTERNAL_API": "http://notes.openedx:8000/api/v1", {% endif %} "LANGUAGE_CODE": "{{ LANGUAGE_CODE }}", + "LOGIN_REDIRECT_WHITELIST": ["{{ CMS_HOST }}", "studio.localhost"], + "SESSION_COOKIE_DOMAIN": ".{{ LMS_HOST }}", "CACHES": { "default": { "KEY_PREFIX": "default",