verdaccio-apm-login

1.0.6 • Public • Published

verdaccio-apm-login

Verdaccio authentication plugin with github oauth web flow

This will allow you to auth via github web oauth flow. It is compatible with verdaccio

Forked from github-oauth

Installation

Configuration

Add the following in your config.yaml

middlewares:
  apm-login:
    client-id: github-app-id # required 
    client-secret: github-app-secret # required 
    git-hostname: git-enteprise-domain-name # optional 
 
auth:
  apm-login:
    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 verdaccio-apm-login-cli

Package Sidebar

Install

npm i verdaccio-apm-login

Weekly Downloads

1

Version

1.0.6

License

MIT

Unpacked Size

5.39 kB

Total Files

4

Last publish

Collaborators

  • soul741