feat: Adding redirection changes for enterprise users (#134) - #38952
feat: Adding redirection changes for enterprise users (#134)#38952subhashree-sahu31 wants to merge 1 commit into
Conversation
* feat: Adding redirection changes for enterprise users * fix: removed request from the waffle flag arguements (cherry picked from commit 2e2ea9a)
|
Thanks for the pull request, @subhashree-sahu31! This repository is currently maintained by Once you've gone through the following steps feel free to tag them in a comment and let them know that your changes are ready for engineering review. 🔘 Get product approvalIf you haven't already, check this list to see if your contribution needs to go through the product review process.
🔘 Provide contextTo help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:
🔘 Submit a signed contributor agreement (CLA)
If you've signed an agreement in the past, you may need to re-sign. Once you've signed the CLA, please allow 1 business day for it to be processed. 🔘 Get a green buildIf one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green. DetailsWhere can I find more information?If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources: When can I expect my changes to be merged?Our goal is to get community contributions seen and reviewed as efficiently as possible. However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:
💡 As a result it may take up to several weeks or months to complete a review and merge your PR. |
|
Hi @subhashree-sahu31! Welcome, and thank you for this contribution! In order for your CLA check to turn green, you'll need to submit a CLA form. If you are contributing as an individual, please fill out the individual CLA form here. If you are contributing on behalf of an organization, please have your manager reach out to oscm@axim.org so you may be added to your org's existing entity agreement. Please let me know if you have any questions. Thanks! |
feat: Adding redirection changes for enterprise users
fix: removed request from the waffle flag arguements
(cherry picked from commit 2e2ea9a)
Description
This PR backports edx/edx-platform PR #134 to openedx/openedx-platform:master.
It updates logistration redirect behavior for users hitting the legacy Django login/registration page when the AuthN MFE redirect path is enabled.
Changes included in this backport:
Adds a new waffle flag: user_authn.enable_enterprise_redirect_to_authn
Allows Enterprise/B2B users to be redirected to the AuthN MFE only when that flag is enabled
Keeps B2C users eligible for AuthN MFE redirect by default, as before
Prevents redirect to the AuthN MFE for flows involving external auth providers such as SAML or other TPA-based login
Preserves the legacy Django login flow for Enterprise users unless explicitly opted in via the new flag
Impacted user roles:
Learner: affected, because login and registration entry behavior can change depending on user segment and authentication setup
Operator: affected, because rollout is controlled through a waffle flag and needs operational awareness
Developer: affected, because login redirect behavior is now segmented for Enterprise vs B2C users
Implications for consumers of this change:
Enterprise customers can be migrated to the AuthN MFE incrementally instead of all at once
Enterprise customers using external auth providers remain on the legacy flow
Operators must enable the new waffle flag deliberately for Enterprise rollout
B2C users continue to follow the MFE redirect path when the global AuthN redirect setting is enabled
Supporting information
Original PR: https://github.com/edx/pull/134
Original merge commit: 2e2ea9a
This is a backport from edx/edx-platform/release-ulmo into openedx/openedx-platform:master.