Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change updates our MSAL cache adapter to no longer use the hinted partition key as a cache key. Instead, the current user has a fixed cache key equal to the empty string `""`. This creates the behavior of `~/.azd/auth/msal/cache.[bin|json]` being the single file that contains MSAL multi-account data, as defined by this [contract](https://github.com/AzureAD/microsoft-authentication-library-for-go/blob/27c98c8f9db6bc564c5be43677f3e6276b7c4fef/apps/internal/base/internal/storage/items.go#L18). Also, fix logout not resetting `cache.json` due to using `config.json` (userConfigManger.Load) and not `auth.json` (readAuthConfig). Fixes #2299
- Loading branch information
1 parent
e6ece84
commit 8407ba5
Showing
3 changed files
with
54 additions
and
38 deletions.
There are no files selected for viewing
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
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