문제

So, I need to run some JS for testing a couple sites, but the crutch is that it is behind NTLM auth. This brings me to my question is how to authenticate JS when the site behind NTLM? I know that ( i believe for phantomjs) you can use

    page.settings.username  = ....
    page.settings.pwd       = .... 

Works for basic auth but not NTLM. Anyone know of some way of authenticating sites behind NTLM?

도움이 되었습니까?

해결책

This issue was solved using https://github.com/SamDecrock/node-http-ntlm.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top