I need to use node.js to communicate with a server using NTLM proxy authentication.
I have used 2 modules:
I found no documentation for the request module for ntlm , and though node-curl supports the curl easy options , I found no documentation about how to specify the CURLAUTH_NTLM for the CURLOPT_HTTPAUTH.
I want to know how to take care of the NTLM proxy authentication. I would love to continue using the request module.
Wrote a Node.js library to do the HTTP NTLM Handshaking: https://github.com/SamDecrock/node-http-ntlm
It's ported from the python-ntlm library.
If you are using Express you can use express-ntlm it makes NTLM a lot less frustrating overall
https://www.npmjs.com/package/express-ntlm
Is it important for you to use NTLM directly in node.js code?
Instead you can try to install some intermediate NTLM proxies that will give you a chance to use simple HTTP proxy in node.js. There are at least two solutions for it:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With