HttpClient send NTLM Ticket instead Kerberos Ticket .NET 5 To Linux Kestrel Server (Negotiate) #67034
Unanswered
RenatGaliew
asked this question in
Q&A
Replies: 1 comment
-
Please guys answer my question 🙏 @davidsh @SteveSyfuhs @CodingBeagle Have any ideas? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
I am successful configure my Server Kestrel with Negotiate authentication on linux machine. IE browser sucess using kerberos authentication, Google Chrome Browser Successful connect authenticate on service with Kerberos/ However my application on .net 5 when connet to service using
var httpClientHandler = new HttpClientHandler { UseDefaultCredentials = true };
var httpClient = new HttpClient(httpClientHandler);
var result = await httpClient.SendAsync(httpRequestMessage, httpCompletionOption, cancellationToken).ConfigureAwait(false);
Response 400,
When I started to understand, I found out that the application sends NTLM Token (Authorization: Negotiate TlRMTVNTUAABAAAAl4II4gAAAAAAAAAAAAAAAAAAAAAKAGFKAAAADw==) instead of Kerberos.
What am I doing wrong? Why application send NTLM tickets, but browsers send Kerberos tickets to Negotiate Handler.
Beta Was this translation helpful? Give feedback.
All reactions