diff --git a/tutormfe/patches/openedx-lms-development-settings b/tutormfe/patches/openedx-lms-development-settings index ac347fde..d7e5e94b 100644 --- a/tutormfe/patches/openedx-lms-development-settings +++ b/tutormfe/patches/openedx-lms-development-settings @@ -19,6 +19,9 @@ MFE_CONFIG = { "STUDIO_BASE_URL": "http://{{ CMS_HOST }}:8001", "USER_INFO_COOKIE_NAME": "user-info", "ACCESS_TOKEN_COOKIE_NAME": "edx-jwt-cookie-header-payload", +{% if MFE_ACCOUNT_MFE_APP %} + "ACCOUNT_SETTINGS_URL": "{{ "https" if ENABLE_HTTPS else "http" }}://{{ MFE_HOST }}/{{ MFE_ACCOUNT_MFE_APP["name"] }}", +{%- endif %} } # MFE-specific settings diff --git a/tutormfe/patches/openedx-lms-production-settings b/tutormfe/patches/openedx-lms-production-settings index 0e62e3b7..379ce1f0 100644 --- a/tutormfe/patches/openedx-lms-production-settings +++ b/tutormfe/patches/openedx-lms-production-settings @@ -19,6 +19,9 @@ MFE_CONFIG = { "STUDIO_BASE_URL": "{{ "https" if ENABLE_HTTPS else "http" }}://{{ CMS_HOST }}", "USER_INFO_COOKIE_NAME": "user-info", "ACCESS_TOKEN_COOKIE_NAME": "edx-jwt-cookie-header-payload", +{% if MFE_ACCOUNT_MFE_APP %} + "ACCOUNT_SETTINGS_URL": "{{ "https" if ENABLE_HTTPS else "http" }}://{{ MFE_HOST }}/{{ MFE_ACCOUNT_MFE_APP["name"] }}", +{%- endif %} }