albi34oauth

1.1.2 • Public • Published

verdaccio-github-oauth

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 sinopia-github-oauth

Installation

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-base-url # 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
    git-hostname: git-enteprise-base-url # optional 

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

Package Sidebar

Install

npm i albi34oauth

Weekly Downloads

0

Version

1.1.2

License

MIT

Unpacked Size

8.85 kB

Total Files

5

Last publish

Collaborators

  • jeremyalbuixech