Skip to content

Conversation

@rayluo
Copy link
Contributor

@rayluo rayluo commented Sep 4, 2024

There is a recent offline discussion on when MSAL shall automatically be fallback to non-broker code path, even if the app opts in to use broker. For example, ADFS and B2C scenarios are considered unsupported by broker (WAM), but ideally MSAL shall not require app developers to opt in to broker conditionally, therefore, MSAL's DevEx (developer experience) is expected to automatically fall back to non-broker code path when appropriate.

MSAL Python did not previously have enough test cases for this, and there was even some discrepancy between the intention above and the actual behavior. This PR adds 6 test cases to inequivalently demonstrate the behaviors. Reviewers can focus on the test cases. There is also an open question on whether the instance_discovery=False scenario shall bypass broker.

@rayluo rayluo requested a review from a team as a code owner September 4, 2024 06:43
@rayluo rayluo marked this pull request as draft September 4, 2024 07:07
@rayluo rayluo marked this pull request as ready for review September 4, 2024 08:36
@rayluo rayluo merged commit 85c93f8 into dev Sep 5, 2024
@rayluo rayluo deleted the broker-refactor branch September 5, 2024 19:12
@rayluo rayluo mentioned this pull request Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants