"# node-red-contrib-auth-openid"
Install using npm
npm i node-red-contrib-auth-openid
declare module using either
var openidauth = require("node-red-contrib-auth-openid");
or using typescript
import * as openidauth from "node-red-contrib-auth-openid";
then initilize
settings.adminAuth = new openidauth.noderedcontribauthopenid("http://localhost:1880/", "blahblah.apps.googleusercontent.com", "secret",
(profile:string | any, done:any)=> {
profile.permissions = "read";
profile.permissions = "*";
done(profile);
});