package
Login to npm Enterprise using GitLab credentials
npm install npme-auth-gitlabGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
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-gitlab
sudo touch gitlab.json and 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" is false.
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-gitlab
Save settings and use the prompt to restart the appliance. Done!
Estimated unpacked size across 26 packages.
9.0 MB
Includes dependencies.
3 direct · 1 outdated