I am running Web App on my IIS server and I have Windows Authnetication enabled.
On client, when I run PowerShell script: Invoke-WebRequest -Uri {url} -UseDefaultCredentials
, its working fine. Also in C# when I use UseDefaultCredentials = true
in HttpClient, its working fine.
But when I run bash command: curl --negotiate -u : {url}
I am gettin 401 Unauthorized error
Why?