0.1.1 • Published 3 years ago

verdaccio-delegated-auth v0.1.1

Weekly downloads
64
License
MIT
Repository
github
Last release
3 years ago

verdaccio-delegated-auth

verdaccio(sinopia) authentication plugin that delegates authentication to another HTTP URL, Support RESTful and JSON-RPC

Installation

$ npm install verdaccio-delegated-auth

Config

Add to your config.yaml:

auth:
  # htpasswd:
  #   file: ./htpasswd
  delegated-auth:
    url: https://your-auth-api/
    user_key: name # username field, default: username
    pwd_key: password # password field, default: password
    cache: 30 # auth status cache, default: 30s
    email: gmail.com # NPM does not allow user names to contain `@`, if your user name is a mailbox, you can write a suffix. 
0.1.1

3 years ago

0.1.0

5 years ago

0.0.6

5 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago