-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Stop setting isBroker in initialize #8075
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: msal-v5
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR removes the isBroker
parameter from the initialize
method across the MSAL browser library as part of changes to the broker model that make this flag unnecessary.
- Removes the
isBroker
parameter from theinitialize
method signature in controllers and interfaces - Simplifies the initialization logic by removing broker-specific conditional code
- Updates tests to reflect the simplified initialization interface
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
lib/msal-browser/src/controllers/IController.ts |
Updates interface to remove isBroker parameter from initialize method |
lib/msal-browser/src/controllers/StandardController.ts |
Removes isBroker parameter and conditional broker logic from initialize method |
lib/msal-browser/src/controllers/NestedAppAuthController.ts |
Removes unused isBroker parameter from initialize method |
lib/msal-browser/src/app/PublicClientApplication.ts |
Updates call to controller initialize to remove isBroker argument |
lib/msal-browser/test/app/PublicClientApplication.spec.ts |
Removes test that verified isBroker parameter passing |
lib/msal-browser/apiReview/msal-browser.api.md |
Updates API documentation to reflect removed parameter |
change/@azure-msal-browser-08e8affc-ae18-41c2-821d-112c37fbdbdb.json |
Beachball change file for tracking this patch-level change |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is because it is no longer a PCA instance?
@@ -0,0 +1,7 @@ | |||
{ | |||
"type": "patch", | |||
"comment": "Remove isBroker flag from initialize", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"comment": "Remove isBroker flag from initialize", | |
"comment": "Remove isBroker flag from initialize, #8075 ", |
Changes to the broker model make the isBroker flag unnecessary, removing.