Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 790 Bytes

custom-authentication.md

File metadata and controls

18 lines (13 loc) · 790 Bytes

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