Skip to content

SharedTokenCacheCredential uses MSAL #11767

@chlowell

Description

@chlowell

SharedTokenCacheCredential must handle its cache as MSAL does because that cache is shared by applications accessing it through MSAL. The current approach, duplicating MSAL Python's logic as needed, is fragile and error prone, and adds considerable complexity. It would be better for the credential to access the cache through MSAL.

For the async SharedTokenCacheCredential, this is blocked by AzureAD/microsoft-authentication-library-for-python#88.

Metadata

Metadata

Assignees

Labels

Azure.IdentityClientThis issue points to a problem in the data-plane of the library.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions