Since you are on Windows, and you are using domain logins, you should rather rely on Kerberos. Anyway, you now several options:
- If you use WinHTTP , you simple have to enable it.
- Use
libcurl
on Windows and it will compile with SSPI support by default. - If you use sockets by yourself, you have to call SSPI with the
Negotiate
package and exchange tokens per HTTP all by yourself.