AzureAD/azure-activedirectory-library-for-dotnet

Missing sendx5c flag in AcquireTokenSilentAsync

Closed this issue · 2 comments

Which Version of ADAL are you using ?
3.19.8

Which platform has the issue?
net45

What authentication flow has the issue?
Web App OBO

Is this a new or existing app?
The app is in production, uses the same version of ADAL, but started seeing this issue

Expected behavior
Given that we can send the x5c via AcquireTokenAsync using a IClientAssertionCertificate overload, I would expect to be able to do the same with AcquireTokenSilentAsync, but this is not currently the case.

Actual behavior
The sendx5c flag is not available in any overload of AcquireTokenSilentAsync.

Possible Solution
Add the sendx5c flag to IClientAssertionCertificate overload of AcquireTokenSilentAsync

@trwalke pls. work with @bhicks2 to figure out what to do. Also probably something to consider for MSAL rather than ADAL.

won't fix. It's fixed in MSAL.NET