Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Latest commit c069be1 Jul 27, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit Apr 14, 2016
LICENSE Initial commit Apr 14, 2016
README.md clarified docs Jul 24, 2018
index.js
package.json Added support for github enterprise paths Jul 24, 2018
yarn.lock add yarn.lock Jul 8, 2018

README.md

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-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

You can’t perform that action at this time.