[AC-404] HTTP Digest Authentication (NTML) breaks on iOS 8.3
|Components||Titanium SDK & CLI|
DescriptionSince upgrading devices to iOS 8.3, NTML authentication no longer works. I have attached a simple app.js file that illustrates the issue. I've given the password to Ingo to add as a private comment. This code works on iOS 8.2, but does not work on iOS 8.3. I've also attached Charles proxy output that shows the conversation between the server and app in both iOS versions. With iOS8.2: - the app makes a request to the server - The server responds with a 401 and qop="auth" string as expected - The app requests again with the Authorization: Digest header set - The server returns a valid response 200 With iOS8.3 - the app makes a request to the server - The server responds with a 401 and qop="auth" string as expected - The app requests again with the Authorization: Digest header set. However, the nc = 00000002 in the Authorization header. In iOS 8.2, nc=00000001 - The server returns a 401 with a stale=true param in the qop="auth" header.