0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05:00
verdaccio/packages/plugins/active-directory
Justin Johansson 15d5e969c4
Update & make dependency versions consistent in packages/* (#2393)
* docs: improve pnpm development setup info in CONTRIBUTING.md

* build: make dependency versions consistent in packages/*

Updated to latest minor/patch versions; left major version unchanged for now

Did not change react dependencies in ui-theme package

Added .project file for Eclipse IDE users

* revert: rollback @changesets dep versions & maintain kleur v3.0.3
2021-08-30 08:19:08 +02:00
..
src chore: eslint config module (#2263) 2021-05-16 17:11:08 +02:00
tests chore: eslint config module (#2263) 2021-05-16 17:11:08 +02:00
.babelrc
CHANGELOG.md chore: update versions (alpha) (#2053) 2021-04-09 17:54:33 +02:00
jest.config.js
LICENSE
package.json Update & make dependency versions consistent in packages/* (#2393) 2021-08-30 08:19:08 +02:00
README.md
tsconfig.build.json
tsconfig.json chore: add update-ts-references (#2168) 2021-04-09 17:54:44 +02:00

@verdaccio/active-directory

Active Directory authentication plugin for Verdaccio

Installation

npm install -g @verdaccio/active-directory

Config

This settings can be set in config.yaml. All fields are mandatory except groupName, which is optional, to add security group(s). Also, this optional field can be a single string or a list of strings. Take care that, when defining groupName key, the user that will be authenticating must be in, at least, one of the groups defined, to authenticate successfully.

auth:
  activedirectory:
    url: 'ldap://localhost'
    baseDN: 'dc=local,dc=host'
    domainSuffix: 'local.host'
    # groupName: 'singleGroup' # optional, single group syntax
    # groupName:               # optional, multiple groups syntax
    #   - 'group1'
    #   - 'group2'

Inspiration

This plugin is based on verdaccio-activedirectory, which is based on siponia-activedirectory.
Thanks to Doug Dennie and Ela-compil sp. z o. o. for making this possible.

License

@verdaccio/active-directory is an open source project with MIT license