.NET Core authentication error calling HttpClient with windows authentication in .NET Core There is a bug in .NET Core 2.1; gives an .NET Core authentication error calling HttpClient with windows authentication. Workaround seems to be: Call AppContext.SetSwitch("System.Net.Http.UseSocketsHttpHandler", false); // bug in .NET CORE 2.1; remove this in 3.0 or when patched prior to your call. May need to disable Negotiate provider on the remote site. https://github.com/dotnet/corefx/issues/32328 https://github.com/dotnet/corefx/issues/25988
Created By: amos 11/15/2019 11:05:52 AM
|
|