https://github.com/yansenlei/verdaccio-delegated-auth
📦🔐 verdaccio(sinopia) authentication plugin that delegates authentication to another HTTP URL
https://github.com/yansenlei/verdaccio-delegated-auth
authentication sinopia verdaccio
Last synced: 4 months ago
JSON representation
📦🔐 verdaccio(sinopia) authentication plugin that delegates authentication to another HTTP URL
- Host: GitHub
- URL: https://github.com/yansenlei/verdaccio-delegated-auth
- Owner: yansenlei
- License: mit
- Created: 2018-05-28T08:53:14.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-02-25T07:29:49.000Z (over 4 years ago)
- Last Synced: 2025-02-01T01:41:32.104Z (5 months ago)
- Topics: authentication, sinopia, verdaccio
- Language: JavaScript
- Homepage:
- Size: 122 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# verdaccio-delegated-auth
verdaccio(sinopia) authentication plugin that delegates authentication to another HTTP URL, Support RESTful and JSON-RPC## Installation
```bash
$ npm install verdaccio-delegated-auth
```## Config
Add to your `config.yaml`:
```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.
```