SNI auth not working in Cert based both authentication #6673
Labels
Bot Services
Required for internal Azure reporting. Do not delete. Do not change color.
bug
Indicates an unexpected problem or an unintended behavior.
needs-triage
The issue has just been created and it has not been reviewed by the team.
Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Version
4.20.0
Describe the bug
When using Cert based authentication, SNI auth flow is not working. I see in the code that x5c claim is not being passed in CertificateAppCredentials which results it not being passed (and used while calling AcquireTokenAsync) in MsalAppCredentials resulting in SNI auth breaking.
The sendX5c flag was being passed in the ADAL authenticator but got missed in MSAL one!
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: