-
Notifications
You must be signed in to change notification settings - Fork 9.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NTLM auth for every connection #4429
Comments
Do you have a code sample we can test with? |
If anyone is interested, I think it’s probably worth the trouble for someone to build an NTLM + OkHttp integration library. I don’t know anything about NTLM but can read source code if presented with a standalone sample. |
No clear action to take here. |
FWIW - I'll try to get this working at some point, but closing for now is appropriate. It probably lives in an external library anyway. |
I implemented NTLM authentication via OkHttpClient.authenticator and the jcifs library.
I managed to keep the same session cookie through a custom CookieManager,
everything works except the fact that authentication is requested and performed for every connection made even if the session cookie remains the same.
I expected NTLM authentication to be requested only during the first connection and then the subsequent connections were already authenticated, a bit like the browser do.
I can not really understand why.
The text was updated successfully, but these errors were encountered: