Forum Discussion
dtabako
May 06, 2024Copper Contributor
Blazor server app with Windows authentication getting 401 unauthorized
I'm building a Blazor server application for an internal company use and using Windows authentication. The app is supposed to field updates from another app via an exposed controller. I am trying to ...
dtabako
May 07, 2024Copper Contributor
I should also mention that I did try adding UseDefaultCredentials to the request:
var handler = new HttpClientHandler()
{
UseDefaultCredentials = true
};
var client = new HttpClient(handler);
That did not help.
var handler = new HttpClientHandler()
{
UseDefaultCredentials = true
};
var client = new HttpClient(handler);
That did not help.