Kerberos gives 401 - "authentication required" #370
-
|
Im stuck and need some help. Unable to authenticate with my .net 8 console application to the vault with Kerberos. Need some pointers in the right direction and help to debug this. Gives me this exception: Tried If I run curl.exe in powershell, it works: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
We could do this and it would work: rest of the code and then: But thats not very pretty 😄 |
Beta Was this translation helpful? Give feedback.
-
|
hi @AlexanderRydberg , couple of things.
|
Beta Was this translation helpful? Give feedback.
hi @AlexanderRydberg , couple of things.
KerberosAuthMethodInfois notDefaultNetworkCredentials, it isDefaultCredentials.HttpHandlerinitialization. Because you're providing your ownHttpHandlerfor ssl success, you also need to set the kerberos part.