passport-ad
This is simple PassportJS strategy for NTLM auth in Active Directory Domain.
Active Directory support is heavily inspired by express-ntlm.
Installation
npm i passport-ad --save
Basic Usage
Without session
const PassportStrategy = ; passport; app;app;
With session
app; passport; app;app;
Options
domain
- domain namedomaincontroller
- ldap url for domain controllerttl
- msec to store unused credentials.domainuser.user
- domain userdomainuser.user
- domain usersession
- is use session for store credentials
If a domainuser
is specified, then this user will be prompted for a domain for extended information.