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:
- on your npm Enterprise server, install the plugin in
/usr/local/lib/npme/data
- visit your npm Enterprise server's admin console (http://myreg.mycompany.com:8800).
- choose
Custom
authentication. - for
authentication
,authorization
, andsession
provide the path to the plugin you've installed, e.g,/etc/npme/data/node_modules/my-custom-plugin