node-red-contrib-auth-google
1.0.4 • Public • Published "# node-red-contrib-auth-google"
Install using npm
npm i node-red-contrib-auth-google
declare module using either
var googleauth = require("node-red-contrib-auth-google");
or using typescript
import * as googleauth from "node-red-contrib-auth-google";
then initilize
settings.adminAuth = new googleauth.noderedcontribauthgoogle("http://localhost:1880/", "blahblah.apps.googleusercontent.com", "secret",
(profile:string | any, done:any)=> {
profile.permissions = "read";
profile.permissions = "*";
done(profile);
});
Readme
Keywords
nonePackage Sidebar
Install
npm i node-red-contrib-auth-google
Weekly Downloads