0.0.1 • Published 7 years ago

sinopia-gitlab-auth v0.0.1

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
7 years ago

Sinopia TFS Auth Plugin

travis badge

Authenticates the user using a gitlab PAT as password. The username entered is checked against the gitlab username.

The groups of the user are returned as groups.

Installation

$ npm install sinopia
$ npm install sinopia-gitlab-auth

Config

Add to your config.yaml:

auth:
  gitlab-auth:
    url: https://gitlab.com/api

packages:
  '@groupName/*':
    access: 'groupName'
    publish: admin