-
Notifications
You must be signed in to change notification settings - Fork 235
Closed
Description
Microsoft.Identity.Web Library
Microsoft.Identity.Web
Microsoft.Identity.Web version
latest
Web app
Sign-in users
Web API
Protected web APIs (validating tokens)
Token cache serialization
In-memory caches
Description
Code inspection shows that TokenAcquisition never calls WithClientCapabilities() on any MSAL builder
Reproduction steps
"AzureAd": {
"Instance": "https://login.microsoftonline.com/",
"TenantId": "msidlab4.onmicrosoft.com",
"ClientId": "<>"
"ClientCapabilities": [ "cp1" ],
"ClientCredentials": [
{
"SourceType": "CustomSignedAssertion",
"CustomSignedAssertionProviderName": "OidcIdpSignedAssertion",
"CustomSignedAssertionProviderData": {
"ConfigurationSection": "AzureAd2"
}
}
]
Relevant code snippets
https://github.com/AzureAD/microsoft-identity-web/blob/master/src/Microsoft.Identity.Web.TokenAcquisition/TokenAcquisition.cs#L795
Regression
Doesn't seem like this ever worked.
Based on investigation
Feature already works (tokens include CP1) and that the PR is strictly test-coverage.
Metadata
Metadata
Assignees
Labels
No labels