[Bug] If isSingleTenant() is true, updateOutdatedCachedAccount will compare lower case account keys in msal.account.keys with mixed case homeAccountIds #7445
Labels
adfs
Related to ADFS
bug-unconfirmed
A reported bug that needs to be investigated and confirmed
msal-angular
Related to @azure/msal-angular package
msal-browser
Related to msal-browser package
Needs: Attention 👋
Awaiting response from the MSAL.js team
public-client
Issues regarding PublicClientApplications
question
Customer is asking for a clarification, use case or information.
Core Library
MSAL.js (@azure/msal-browser)
Core Library Version
3.27.0
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
None
Public or Confidential Client?
Public
Description
CacheManager#updateOutdatedCachedAccount
If isSingleTenant() returns true the following code is executed
matchingAccountKeys is [] because getAccountKeys() are in lower case (see: AccountEntity#generateAccountCacheKey)
but accountEntity.homeAccountId must not be in lower case.
Error Message
No response
MSAL Logs
No response
Network Trace (Preferrably Fiddler)
MSAL Configuration
none
Relevant Code Snippets
none
Reproduction Steps
See code above
Expected Behavior
Should return a non-empty list of matchingAccountKeys
Identity Provider
ADFS
Browsers Affected (Select all that apply)
Chrome
Regression
No response
The text was updated successfully, but these errors were encountered: