Skip to content

open-rpa/node-red-contrib-auth-openid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published