Skip to content
Open
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
2 changes: 1 addition & 1 deletion lms/envs/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@
# .. toggle_tickets: 'https://github.com/openedx/edx-platform/pull/24908'
# .. toggle_warning: Also set settings.AUTHN_MICROFRONTEND_URL for rollout. This temporary feature
# toggle does not have a target removal date.
ENABLE_AUTHN_MICROFRONTEND = os.environ.get("EDXAPP_ENABLE_AUTHN_MFE", False)
ENABLE_AUTHN_MICROFRONTEND = os.getenv("EDXAPP_ENABLE_AUTHN_MFE", "false").lower() == "true"

# .. toggle_name: settings.ENABLE_CATALOG_MICROFRONTEND
# .. toggle_implementation: DjangoSetting
Expand Down
4 changes: 4 additions & 0 deletions openedx/core/djangoapps/user_authn/toggles.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ def should_redirect_to_authn_microfrontend():
return False
return configuration_helpers.get_value(
'ENABLE_AUTHN_MICROFRONTEND', settings.FEATURES.get('ENABLE_AUTHN_MICROFRONTEND')
) and not (
configuration_helpers.get_value('ENABLE_ENTERPRISE_CUSTOMER', False) and
configuration_helpers.get_value('ENABLE_TPA_HINT_PROVIDER', False) and
configuration_helpers.get_value('ENABLE_SAML_PROVIDER', False)
)


Expand Down
Loading