Skip to content

πŸ“¦πŸ” verdaccio(sinopia) authentication plugin that delegates authentication to another HTTP URL

License

Notifications You must be signed in to change notification settings

yansenlei/verdaccio-delegated-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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. 

About

πŸ“¦πŸ” verdaccio(sinopia) authentication plugin that delegates authentication to another HTTP URL

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published