0.1.2 • Published 9 years ago
npme-auth-gitlab v0.1.2
npme-auth-gitlab
Login to npm Enterprise using GitLab credentials
Based on GitLab's API
To install on your npm Enterprise instance:
cd /usr/local/lib/npme/data(or the directory configured for Miscellaneous data files in the admin console)sudo npm i npme-auth-gitlabsudo touch gitlab.jsonand populate it with data like the following:{ "url": "https://gitlab.example.com", "strictSSL": false }Point the
"url"to your GitLab instance. If it's using https with a self-signed cert, then make sure"strictSSL"isfalse.Go to your npm Enterprise admin console (on port 8800 of your server), go to Settings, select Custom for Authentication, and populate each plugin value as
/etc/npme/data/node_modules/npme-auth-gitlabSave settings and use the prompt to restart the appliance. Done!