Looking through npm all ntlm / kerberos modules seem to want a hard coded username and password when performing HTTP requests against a windows authenticated endpoint.
Is it possible to use the credentials of the currently logged in user?
e.g. In PowerShell I can do this:
$wc = new-object System.Net.WebClient
$wc.UseDefaultCredentials = $true
Would this be at all possible with node?
NTLM and Kerberos authentication are possible with node-expose-sspi.
https://github.com/jlguenego/node-expose-sspi
Note : I am the author of node-expose-sspi.
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