node-red-contrib-auth-openid

1.0.4 • Public • Published

"# 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);
});

Readme

Keywords

none

Package Sidebar

Install

npm i node-red-contrib-auth-openid

Weekly Downloads

1

Version

1.0.4

License

MPL-2.0

Unpacked Size

28.3 kB

Total Files

8

Last publish

Collaborators

  • skadefro