verdaccio-activedirectory-extended
v1.4.3
Published
Extended Active Directory authentication plugin for verdaccio
Downloads
10
Maintainers
Readme
verdaccio-activedirectory-extended
Extended Active Directory authentication plugin for verdaccio.
Firstly checks user in AD, then uses htpasswd authentication if not found.
Adds to each user logged in via AD "$ActiveDirectory" group and extendedUsersSuffix
(defaults to "OUTSOURCE") group to all the others.
Installation
$ npm install verdaccio-activedirectory-extended
Config
Add to your config.yaml
:
auth:
activedirectory:
url: "ldap://10.0.100.1"
baseDN: 'dc=sample,dc=local'
user: 'service-user'
password: 'password'
domainSuffix: 'sample.local'
extendedUsersFile: '/path/to/local/passwords/file'
extendedUsersSuffix: 'OUTSOURCE' #optional