Kerberos authentication in Node.js https.get or https.request

后端 未结 5 1691
失恋的感觉
失恋的感觉 2020-12-05 15:13

I\'m trying to write a simple script that requests some data from a tool on an internal network. Here is the code:

#!/usr/bin/node

var https = require(\'htt         


        
5条回答
  •  庸人自扰
    2020-12-05 15:29

    If you are on Windows, you can use the SSPI interface. It is exposed on Node with the project node-expose-sspi.

    The SSPI interface allows you to write any client or server using SSO (NTLM and Kerberos).

    https://github.com/jlguenego/node-expose-sspi

    Note: I am the author of node-expose-sspi.

提交回复
热议问题