Skip to content

Commit f53f4a6

Browse files
feat: add waffle flag to enable MFE integration
1 parent 34bd659 commit f53f4a6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

lms/envs/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@
579579
# .. toggle_tickets: 'https://github.com/openedx/edx-platform/pull/24908'
580580
# .. toggle_warning: Also set settings.AUTHN_MICROFRONTEND_URL for rollout. This temporary feature
581581
# toggle does not have a target removal date.
582-
ENABLE_AUTHN_MICROFRONTEND = os.environ.get("EDXAPP_ENABLE_AUTHN_MFE", False)
582+
ENABLE_AUTHN_MICROFRONTEND = True
583583

584584
# .. toggle_name: settings.ENABLE_CATALOG_MICROFRONTEND
585585
# .. toggle_implementation: DjangoSetting

openedx/core/djangoapps/user_authn/toggles.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ def should_redirect_to_authn_microfrontend():
2323
return False
2424
return configuration_helpers.get_value(
2525
'ENABLE_AUTHN_MICROFRONTEND', settings.FEATURES.get('ENABLE_AUTHN_MICROFRONTEND')
26+
) and not (
27+
configuration_helpers.get_value('ENABLE_ENTERPRISE_CUSTOMER', False) and
28+
configuration_helpers.get_value('ENABLE_TPA_HINT_PROVIDER', False) and
29+
configuration_helpers.get_value('ENABLE_SAML_PROVIDER', False)
2630
)
2731

2832

0 commit comments

Comments
 (0)