I\'m trying to communicate with a self-hosted WebAPI client using HttpClient. The client is created with the following code:
HttpClient
HttpClientHandler clien
the default behavior where it only sends credentials after receiving an HTTP 401 Not Authorized response.
Manually adding the credentials header seems to be the best solution available.
More details in this post