Best way to pass parameters into a adminAuth plugin

#1

A request for some advice:

My team is working on a custom-user-authentication plugin for the adminAuth setting as per: https://nodered.org/docs/security#custom-user-authentication

If we want the plugin to be reusable, is there a best practice for passing in parameters (e.g. api token, or group lists)?

Thanks in advance!

0 Likes

#2

Have you looked at the Twitter and GitHub Auth plugins we provide? In absence of anything else, they would be the best practice examples we have.

0 Likes

#3

Thanks! I had forgot that those examples existed. We'll use that as a starting point.

0 Likes