JSPM

  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q78755F
  • License MIT

Active Directory authentication plugin for Verdaccio

Package Exports

  • @verdaccio/active-directory

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@verdaccio/active-directory) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@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