Open christothes opened 1 week ago
stretch: october release cycle, pending access to test resources this week
there is a version of impl in azure-core-management (be cautious that this may not be the exact version you want in azure-core) https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/core/azure-core-management/src/main/java/com/azure/core/management/http/policy/ArmChallengeAuthenticationPolicy.java
This feature entails adding CAE support for all clients lacking a custom challenge handler i.e., everyone except Key Vault and Storage.
Adding support involves adding logic to your BearerTokenAuthenticationPolicy such that it does the following:
error
value is "insufficient_claims"claims
value and decode it from base64 encoding to a stringclaims
to theTokenCredential
via theTokenRequestContext
or equivalent for your language via theClaims
propertyExample PRs: https://github.com/Azure/azure-sdk-for-go/pull/23414 https://github.com/Azure/azure-sdk-for-net/pull/46277