NodeSSPI icon indicating copy to clipboard operation
NodeSSPI copied to clipboard

Possible to use node-sspi to generate NTLM Authenticate: headers?

Open ghost opened this issue 9 years ago • 4 comments

I'm interested in using node-sspi in a client - how hard would it be to extend it to be able to generate Authenticate: headers for requests to proxies/sites?

ghost avatar May 12 '15 03:05 ghost

It's feasible but takes time. Given that there are modules such as node-http-ntlm that can at least partially fullfill the purpose, I consider it a relatively low priority. A module written using SSPI will have the advantage to leverage underlying process credential to perform transparent authentication, however.

abbr avatar May 18 '15 01:05 abbr

Any new on this one ?

GuillaumeLeclerc avatar Nov 15 '16 22:11 GuillaumeLeclerc

@GuillaumeLeclerc If you're okay with using an alternative, you can use the SSPI package provided by the kerberos package for this. For more instructions refer to https://github.com/christkv/kerberos/issues/51#issuecomment-256756754.

ljani avatar Nov 16 '16 15:11 ljani

Am getting 401 unauthorized from my node api because of node-sspi. How to use node-sspi for cross origin sites?

suthakarkps avatar May 12 '18 11:05 suthakarkps