Hi,
I'm trying to access a website with NTLM protocol. I'm using a NSURLSession API to access resrouces in this website
First time I am presented with a challenge and when i supply credentials the callback is sent in two modes.
i) Same HTTP Connection
ii) A new HTTP Connection
The NTLM Authorization header is missing when sent on the same HTTP Connection but exists when sent as a new HTTP Connection.
This below blog mentions that we need to close the connection when we receive the NTLM challenge and send the new request with creds as a new HTTP Connection.
https://blogs.msdn.microsoft.com/chiranth/2013/09/20/ntlm-want-to-know-how-it-works/
Could you someone please take a look?
Thanks,
Ratna.