[Engineering task] Implement Claims API to Bypass Cache When Claims are Present in MSAL with Managed Identity #842
Labels
AzureSDK
Issues and requests affecting the Azure SDK
confidential-client
For issues related to confidential client apps
Feature Request
Request for new functionality
P1
High priority items, should be done before any other work
scenario:ManagedIdentity
MSAL client type
Managed identity
Problem Statement
MSAL client type
Confidential
Problem Statement
Task type
Development
Description
Currently, MSAL with Managed Identity does not expose any API claims API. With CAE (Continuous Access Evaluation) being enabled by default, we need to implement a mechanism to bypass the cache if claims are detected in the token request.
Steps to Reproduce:
Observe that the cache is not bypassed, leading to potential stale token usage.
Expected Behavior:
When claims are present in the token request, the cache should be bypassed to ensure that the latest token is used, in line with CAE requirements.
Proposed solution
note : msi v1 endpoint is unchanged so there is no need to pass any claims to the endpoint itself, this feature is done so MSAL will bypass the cache.
Alternatives
No response
The text was updated successfully, but these errors were encountered: