Socket
Book a DemoInstallSign in
Socket

verdaccio-github-oauth

Package Overview
Dependencies
Maintainers
4
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

verdaccio-github-oauth

authentication plugin for verdaccio, supporting github oauth web flow

1.1.0
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
4
Weekly downloads
 
Created
Source

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

  • Create an oauth application in github
  • Set the callback url of your github application to http://url-to.your.registry/oauth/callback
  • $ 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

Keywords

verdaccio

FAQs

Package last updated on 27 Jul 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.