Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions py_configuration_files/cms.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
]

Expand Down
2 changes: 2 additions & 0 deletions py_configuration_files/enterprise_access.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@

# CORS CONFIG
CORS_ORIGIN_WHITELIST = [
'http://localhost:1989', # frontend-app-enterprise-checkout
'http://localhost:1991', # frontend-app-admin-portal
Comment on lines 74 to 77
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fixes are in this file only. The other stuff I just added on a whim.

'http://localhost:8734', # frontend-app-learner-portal-enterprise
'http://localhost:18450', # frontend-app-support-tools
Expand All @@ -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
Expand Down
22 changes: 11 additions & 11 deletions py_configuration_files/lms.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
]
Comment on lines -554 to 566
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes should be a no-op.


############################ Codejail ############################
Expand Down