0.0.3 • Published 5 years ago
verdaccio-alles-auth v0.0.3
verdaccio-alles-auth
Verdaccio authentication plugin with Alles QuickAuth. This is forked from verdaccio-github-oauth.
Installation
$ npm i verdaccio -g
$ npm i verdaccio-github-oauth -g
Configuration
Add the following in your config.yaml
middlewares:
github-oauth:
client-id: github-app-id # required
client-secret: github-app-secret # required
git-hostname: git-enteprise-domain-name # optional
auth:
github-oauth:
org: aroundus-inc # required, people within this org will be able to auth
cache-ttl-ms: 60000 # default to 30s if not present
Run
$ verdaccio -c /path/to/config.yaml -l 0.0.0.0:4873
Authenticating
You cannot use npm login
to authenticate via this method, instead install sinopia-github-oauth-cli