diff --git a/py_configuration_files/cms.py b/py_configuration_files/cms.py index fb7309d..25c9427 100644 --- a/py_configuration_files/cms.py +++ b/py_configuration_files/cms.py @@ -289,8 +289,8 @@ def should_show_debug_toolbar(request): # lint-amnesty, pylint: disable=missing # MFEs that will call this service in devstack CSRF_TRUSTED_ORIGINS = [ - 'http://localhost:2001', # frontend-app-course-authoring - 'http://localhost:1992', # frontend-app-ora + COURSE_AUTHORING_MICROFRONTEND_URL, # frontend-app-course-authoring + ORA_MICROFRONTEND_URL, # frontend-app-ora 'http://localhost:1999', # frontend-app-authn ] diff --git a/py_configuration_files/enterprise_access.py b/py_configuration_files/enterprise_access.py index d225005..b5983ba 100644 --- a/py_configuration_files/enterprise_access.py +++ b/py_configuration_files/enterprise_access.py @@ -73,6 +73,7 @@ # CORS CONFIG CORS_ORIGIN_WHITELIST = [ + 'http://localhost:1989', # frontend-app-enterprise-checkout 'http://localhost:1991', # frontend-app-admin-portal 'http://localhost:8734', # frontend-app-learner-portal-enterprise 'http://localhost:18450', # frontend-app-support-tools @@ -81,6 +82,7 @@ # CSRF CONFIG CSRF_TRUSTED_ORIGINS = [ + 'http://localhost:1989', # frontend-app-enterprise-checkout 'http://localhost:1991', # frontend-app-admin-portal 'http://localhost:8734', # frontend-app-learner-portal-enterprise 'http://localhost:18450', # frontend-app-support-tools diff --git a/py_configuration_files/lms.py b/py_configuration_files/lms.py index 68c4383..749446f 100644 --- a/py_configuration_files/lms.py +++ b/py_configuration_files/lms.py @@ -551,18 +551,18 @@ def should_show_debug_toolbar(request): # lint-amnesty, pylint: disable=missing # MFEs that will call this service in devstack CSRF_TRUSTED_ORIGINS = [ 'http://localhost:2001', # frontend-app-course-authoring - 'http://localhost:1997', # frontend-app-account - 'http://localhost:1995', # frontend-app-profile - 'http://localhost:1992', # frontend-app-ora - 'http://localhost:2002', # frontend-app-discussions - 'http://localhost:1991', # frontend-app-admin-portal - 'http://localhost:8734', # frontend-app-learner-portal-enterprise - 'http://localhost:1989', # frontend-app-enterprise-checkout - 'http://localhost:1999', # frontend-app-authn + ACCOUNT_MICROFRONTEND_URL, # frontend-app-account + PROFILE_MICROFRONTEND_URL, # frontend-app-profile + ORA_MICROFRONTEND_URL, # frontend-app-ora + DISCUSSIONS_MICROFRONTEND_URL, # frontend-app-discussions + ENTERPRISE_ADMIN_PORTAL_BASE_URL, # frontend-app-admin-portal + ENTERPRISE_LEARNER_PORTAL_BASE_URL, # frontend-app-learner-portal-enterprise + ENTERPRISE_CHECKOUT_BASE_URL, # frontend-app-enterprise-checkout + AUTHN_MICROFRONTEND_URL, # frontend-app-authn 'http://localhost:18450', # frontend-app-support-tools - 'http://localhost:1994', # frontend-app-gradebook - 'http://localhost:1996', # frontend-app-learner-dashboard - LEARNING_MICROFRONTEND_URL # frontend-app-learning + WRITABLE_GRADEBOOK_URL, # frontend-app-gradebook + LEARNER_HOME_MICROFRONTEND_URL, # frontend-app-learner-dashboard + LEARNING_MICROFRONTEND_URL, # frontend-app-learning ] ############################ Codejail ############################