diff --git a/changelog.d/20221213_102202_regis_dev.md b/changelog.d/20221213_102202_regis_dev.md new file mode 100644 index 0000000..885880e --- /dev/null +++ b/changelog.d/20221213_102202_regis_dev.md @@ -0,0 +1 @@ +- [Bugfix] Fix Authn MFE login in development by disabling enterprise integration. (by @regisb) diff --git a/tutor/templates/apps/openedx/settings/lms/development.py b/tutor/templates/apps/openedx/settings/lms/development.py index e30aabb..ed0c277 100644 --- a/tutor/templates/apps/openedx/settings/lms/development.py +++ b/tutor/templates/apps/openedx/settings/lms/development.py @@ -24,7 +24,11 @@ SESSION_COOKIE_SAMESITE = "Lax" # CMS authentication IDA_LOGOUT_URI_LIST.append("http://{{ CMS_HOST }}:8001/logout/") -FEATURES['ENABLE_COURSEWARE_MICROFRONTEND'] = False +FEATURES["ENABLE_COURSEWARE_MICROFRONTEND"] = False + +# Disable enterprise integration +FEATURES["ENABLE_ENTERPRISE_INTEGRATION"] = False +SYSTEM_WIDE_ROLE_CLASSES.remove("enterprise.SystemWideEnterpriseUserRoleAssignment") LOGGING["loggers"]["oauth2_provider"] = { "handlers": ["console"],