Verdaccio with LDAP authenthication

315 Views Asked by At

I will like to ask if anyone has tried to auth. LDAP with verdaccio am running 5.19.0 on docker container default auth. works

htpasswd:
  file: ./htpasswd

but i try getting plugins for verdaccio auth for ldap but not working have been stop here for over a month

i need a plugins to add to the verdaccio 5.19.0 with ldap

here is my config.yaml file on docker

storage: /verdaccio/storage
plugins: /verdaccio/plugins
web:
  title: Verdaccio
auth:
  htpasswd:
    file: ./htpasswd
uplinks:
  npmjs:
    url: https://registry.npmjs.org/                                
packages:
  '@*/*':
    access: $all
    publish: $authenticated
    unpublish: $authenticated
    proxy: npmjs
  '**':
    access: $all
    publish: $authenticated
    unpublish: $authenticated
    proxy: npmjs
middlewares:
  audit:
    enabled: true
logs:
  - {type: stdout, format: pretty, level: http}

dockerfile

FROM verdaccio/verdaccio:latest

RUN node -v
RUN npm -v
RUN npm i
RUN npm i verdaccio-ldap
RUN npm i verdaccio-activedirectory -g
RUN npm i sinopia-memory -g

i need to auth verdaccio with ldap?

1

There are 1 best solutions below

3
On