You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a list of CredentialDescription with 2 credentials, and mark the first one with SKIP=true;
Call the public API LoadFirstValidCredentialsAsync(list)
Actual: it loads the first credential, and then it doesn't use it
Expected: do not load the first credential and do not use it.
Reproduction steps
^^
Error message
No response
Id Web logs
No response
Relevant code snippets
CredentialDescription[]credentialDescriptions=new[]{newCredentialDescription{SourceType=CredentialSource.SignedAssertionFromManagedIdentity,Skip=true},newCredentialDescription{SourceType=CredentialSource.KeyVault,KeyVaultUrl="https://bogus.net",KeyVaultCertificateName="Self-Signed-5-5-22"}};awaitDefaultCredentialLoader.LoadFirstValidCredentialsAsync(credentialDescriptions);// Actual: credential1 (managed identity) is still attempted.
Regression
No response
Expected behavior
don't load skipped creds
The text was updated successfully, but these errors were encountered:
Microsoft.Identity.Web Library
Microsoft.Identity.Web
Microsoft.Identity.Web version
3.10.0
Web app
Not Applicable
Web API
Not Applicable
Token cache serialization
Not Applicable
Description
Actual: it loads the first credential, and then it doesn't use it
Expected: do not load the first credential and do not use it.
Reproduction steps
^^
Error message
No response
Id Web logs
No response
Relevant code snippets
Regression
No response
Expected behavior
don't load skipped creds
The text was updated successfully, but these errors were encountered: