1.0.2 • Published 5 years ago

verdaccio-auth-mongo v1.0.2

Weekly downloads
1
License
ISC
Repository
gitlab
Last release
5 years ago

Verdaccio-Auth-Mongo

This is a Verdaccio Auth Plugin configured to authenticate users against a MongoDB Database

Installation

npm install verdaccio-auth-mongo

Config

Add this to your config.yaml

auth:
    auth-mongo:
        host: String (ex: localhost)
        port: Number (This will be ignored if 'srv' is true) (ex: 27017)
        username: String (ex: username)
        password: String (ex: password)
        database: String (ex: database)
        srv: Boolean (ex: false) (https://www.mongodb.com/blog/post/mongodb-3-6-here-to-SRV-you-with-easier-replica-set-connections)

Dependencies

- mongoose https://www.npmjs.com/package/mongoose
- secure-password https://www.npmjs.com/package/secure-password
1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago