SamDecrock / node-http-ntlm

Node.js module to authenticate using HTTP NTLM
MIT License
192 stars 89 forks source link

ReferenceError: callback is not defined return callback(new Error('www-authenticate not found on response of second request')); #63

Closed Nightwelf closed 1 year ago

Nightwelf commented 7 years ago

node_modules/sharepointconnector/lib/auth/ntlm.js:32 return callback(new Error('www-authenticate not found on response of second request')); ^

ReferenceError: callback is not defined at node_modules/sharepointconnector/lib/auth/ntlm.js:32:16 at fn (node_modules/async/lib/async.js:582:34) at Immediate. (node_modules/async/lib/async.js:498:34) at runCallback (timers.js:651:20) at tryOnImmediate (timers.js:624:5) at processImmediate [as _immediateCallback] (timers.js:596:5)

SamDecrock commented 7 years ago

Can you show me part of your code where you're making the ntlm call?

Nightwelf commented 7 years ago

I use cyrillic in sharepointconnector. It is not my project, it is using your project.

SamDecrock commented 7 years ago

Problem is that if you are not defining a callback in your code, my code will complain ;-)

SamDecrock commented 1 year ago

Please file the bug at sharepointconnector