vesse / passport-ldapauth

LDAP authentication strategy for Passport
MIT License
312 stars 100 forks source link

How can I tell when receiving the message Unauthorized if it for the LDAP bind credentials or the username I am searching for? #100

Closed ckauffman-gestalt closed 3 years ago

ckauffman-gestalt commented 4 years ago

How can I tell when receiving the message Unauthorized if it for the LDAP bind credentials or the username I am searching for?

vesse commented 3 years ago

In the authentication callback response you can't, but you could use Bunyan logger to show the trace from ldapauth-fork for debugging needs.