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
renovate[bot] 82d34ae4dc
chore(deps): update dependency @types/activedirectory2 to v1.2.6 (#4115)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-13 08:12:50 +01:00
..
src chore(website): improve api docs part 2 (#3431) 2022-10-11 23:06:55 +02:00
tests #2606 add prettier plugin sort imports (#2607) 2021-10-29 17:33:05 +02:00
.babelrc refactor: relocate verdaccio-active-directory plugin (#1981) 2021-04-09 17:54:24 +02:00
CHANGELOG.md chore: update versions (6-next) (#3079) 2022-04-04 12:55:13 +02:00
jest.config.js feat!: replace deprecated request dependency by got (#3100) 2022-07-29 20:51:45 +02:00
LICENSE refactor: relocate verdaccio-active-directory plugin (#1981) 2021-04-09 17:54:24 +02:00
package.json chore(deps): update dependency @types/activedirectory2 to v1.2.6 (#4115) 2023-11-13 08:12:50 +01:00
README.md refactor: relocate verdaccio-active-directory plugin (#1981) 2021-04-09 17:54:24 +02:00
tsconfig.build.json refactor: relocate verdaccio-active-directory plugin (#1981) 2021-04-09 17:54:24 +02:00
tsconfig.json refactor logger module (#3592) 2023-02-05 21:00:32 +01: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