I’m making a request in postman to an api that uses ntlm authentication, but postman gives up after it receives the initial 401. It never attempts to send any credentials to the server.
{“Message”:“Authorization has been denied for this request.”}
… and that’s it. Even though NTLM authentication is selected and I’ve entered my credentials, postman doesn’t make any attempt to send them. The url works fine in chrome, and I can see it’s successfully going through the ntlm authentication process after the initial 401.
You can open the Postman console and then send the request having NTLM auth. There should be 3 requests logged in the console. Switch to the raw mode then copy everything and post it here
It only makes this initial request and doesn’t attempt to respond to the server’s request for NTLM auth. However if I make the same request using a c# app and monitor in fiddler, i see it authenticating successfully using NTLM over 3 requests, so the issue seems unique to postman.
Actually nevermind, i just noticed that the ‘disable retrying the request’ flag was checked. It works after disabling this, as long as NTLM is the only www-authenticate value