microsoft / artifacts-credprovider

The Azure Artifacts Credential Provider enables dotnet, NuGet.exe, and MSBuild to interactively acquire credentials for Azure Artifacts feeds.
MIT License
759 stars 707 forks source link

Use default credentials on http client handler #414

Closed JohnSchmeichel closed 1 year ago

JohnSchmeichel commented 1 year ago

MSAL integrated Windows authentication requires using default credentials. This is done if using MSALs http client factory, so must explicitly opt into this behavior.

JohnSchmeichel commented 1 year ago

May need to move away from SocketsHttpHandler here as there is different behavior between the two, still testing.