0.0.11 • Published 3 years ago

node-red-contrib-auth-mongodb v0.0.11

Weekly downloads
27
License
Apache-2.0
Repository
github
Last release
3 years ago

node-red-contrib-auth-mongodb

This is an authentication plugin for Node-RED that uses MongoDB as the backend

Setup

You need to add the following to settings.js

adminAuth: require('node-red-contrib-auth-mongodb').setup({
  mongoURI: "mongodb://mongo.exmample.com/nodered",
  appname: "foo"
})

Where mongoURI is the location of a MongoDB database and appname is a unique identifier for this instance of Node-RED to allow multiple instances to use the same DB.

It will use a collection called users in the datbase.

For an example of how to create user entries in the collection look at create-user.js

0.0.10

3 years ago

0.0.11

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago