npmjs.com

Custom authentication

Implementing custom authentication and authorization strategies was documented in a post on our blog.

In addition to that, our GitHub integration is open source and available on GitHub.

To enable a custom authentication strategy:

  1. on your npm On-Site server, install the plugin in /usr/local/lib/npme/data
  2. visit your npm On-Site server's admin console (http://myreg.mycompany.com:8800).
  3. choose Custom authentication.
  4. for authentication, authorization, and session provide the path to the plugin you've installed, e.g, /etc/npme/data/node_modules/my-custom-plugin

Last modified November 29, 2015           Found a typo? Send a pull request!

Getting Started

How npm works

Private Modules

Organizations

Using npm

npm On-Site

CLI Commands

Configuring npm

npm policy documents

View All On One Page