-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MSAL JS should not throw user account switch error when home account …
…ids of the request/response match (#6846) This PR fixes 2 issues: - When the parent app is requesting tokens on behalf of an iframed application, it should check request/response based on the native account id as well as the homeAccountId. - When the tokens are brokered, the parent's native account id should not be cached in the iframed application. The iframed application should only store it's own native account id. --------- Co-authored-by: Thomas Norling <[email protected]>
- Loading branch information
1 parent
d51b97d
commit c6b5f3d
Showing
3 changed files
with
83 additions
and
9 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
change/@azure-msal-browser-827cdb7e-b87e-4aea-a9a2-139125b1528b.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "patch", | ||
"comment": "Bug fix for user switch error and broker app's native account id being stored in embedded app cache #6846", | ||
"packageName": "@azure/msal-browser", | ||
"email": "[email protected]", | ||
"dependentChangeType": "patch" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters