{"_id":"@by-wise/node-red-auth-google","_rev":"6-a8185c938cbe4cff03d1eeb436e990bd","name":"@by-wise/node-red-auth-google","dist-tags":{"latest":"0.1.3"},"versions":{"0.0.1":{"name":"@by-wise/node-red-auth-google","version":"0.0.1","keywords":["node-red","authentication","oauth","google"],"author":{"name":"By Wise Consulting"},"license":"MIT","_id":"@by-wise/node-red-auth-google@0.0.1","maintainers":[{"name":"domagalhaes","email":"daniel.magalhaes@bywise.com.br"}],"homepage":"https://github.com/by-wise/node-red-auth-google#readme","bugs":{"url":"https://github.com/by-wise/node-red-auth-google/issues"},"dist":{"shasum":"6d99c95c96ec452058b9da19d3a0b8952bb72869","tarball":"https://registry.npmjs.org/@by-wise/node-red-auth-google/-/node-red-auth-google-0.0.1.tgz","fileCount":4,"integrity":"sha512-1Pg9yDvve/af6PKva0p3maqXRzL65wZwutWm0e2h64WWqgYfqhg9ohTBqN5lRWJO2Qjo0G41aKYalDpWVgNOFQ==","signatures":[{"sig":"MEUCIQCy9GcfJZajPTdM6B7sarm0Uc414eYFEbLKsWoS2HqadQIgD//RErIsD3kanL3Qx0WnGR+EGlL6unps8Q9XcEzIfNU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3708},"main":"./lib/index.js","type":"commonjs","gitHead":"80f16a13127f2f8e3b3341fefc5bccc172712207","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"domagalhaes","email":"daniel.magalhaes@bywise.com.br"},"repository":{"url":"git+https://github.com/by-wise/node-red-auth-google.git","type":"git"},"_npmVersion":"11.6.2","description":"Node-RED Authentication with Google","directories":{},"_nodeVersion":"22.20.0","dependencies":{"passport-google-oidc":"^0.1.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/node-red-auth-google_0.0.1_1763994749990_0.8670591994518562","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@by-wise/node-red-auth-google","version":"0.0.2","keywords":["node-red","authentication","oauth","google"],"author":{"name":"By Wise Consulting"},"license":"MIT","_id":"@by-wise/node-red-auth-google@0.0.2","maintainers":[{"name":"domagalhaes","email":"daniel.magalhaes@bywise.com.br"}],"homepage":"https://github.com/by-wise/node-red-auth-google#readme","bugs":{"url":"https://github.com/by-wise/node-red-auth-google/issues"},"dist":{"shasum":"ad09ea50acc2721851e7dcc40bf98a47189bead7","tarball":"https://registry.npmjs.org/@by-wise/node-red-auth-google/-/node-red-auth-google-0.0.2.tgz","fileCount":5,"integrity":"sha512-pNngroMD5U5MpAWFpT80yBJsutCVoaPVwpmaLN4N7cYXxk3OSZ2FYyUpbIGJyNyF1kfGfDF010XKpZqx5VIl5A==","signatures":[{"sig":"MEUCIAmZffpVr6wu6taZbDBnlSwYB3o72DkYkY61e6xMJMEPAiEA1JkGdX6A6TrIAwldYRYLfq2/Co/b9whfi+PJA7YILJw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4322},"main":"./lib/index.js","type":"commonjs","gitHead":"d87d1b9832f5d0b049edd1dfa1587b9f88b3c233","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"domagalhaes","email":"daniel.magalhaes@bywise.com.br"},"repository":{"url":"git+https://github.com/by-wise/node-red-auth-google.git","type":"git"},"_npmVersion":"11.6.2","description":"Node-RED Authentication with Google","directories":{},"_nodeVersion":"22.20.0","dependencies":{"passport-google-oidc":"^0.1.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/node-red-auth-google_0.0.2_1764005372148_0.9873742038206372","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@by-wise/node-red-auth-google","version":"0.1.0","keywords":["node-red","authentication","oauth","google"],"author":{"name":"By Wise Consulting"},"license":"MIT","_id":"@by-wise/node-red-auth-google@0.1.0","maintainers":[{"name":"domagalhaes","email":"daniel.magalhaes@bywise.com.br"}],"homepage":"https://github.com/by-wise/node-red-auth-google#readme","bugs":{"url":"https://github.com/by-wise/node-red-auth-google/issues"},"dist":{"shasum":"575c716c1a096f8fe638d9c020409282c2d9da12","tarball":"https://registry.npmjs.org/@by-wise/node-red-auth-google/-/node-red-auth-google-0.1.0.tgz","fileCount":5,"integrity":"sha512-UmTcpWvQfHspInsLCahbxWrG+eh3Yov6ztYTb+VlnjUxzM+G3r+dC16X5K2pFeqSEz5N90B2d7Lhqs7uLoHXAw==","signatures":[{"sig":"MEUCIQCQ/k7R3+zTQSOjBDzfm5T2jmrqrzJFSqJ/AQV3ugg5VQIgFFWkCtOTgnsIBXSnQn0T/vx+CK4dJEMxh9QSo0FliAw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6136},"main":"./lib/index.js","type":"commonjs","gitHead":"d87d1b9832f5d0b049edd1dfa1587b9f88b3c233","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"domagalhaes","email":"daniel.magalhaes@bywise.com.br"},"repository":{"url":"git+https://github.com/by-wise/node-red-auth-google.git","type":"git"},"_npmVersion":"11.6.2","description":"Node-RED Authentication with Google","directories":{},"_nodeVersion":"22.20.0","dependencies":{"passport-google-oidc":"^0.1.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/node-red-auth-google_0.1.0_1764008393953_0.2790716084747873","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@by-wise/node-red-auth-google","version":"0.1.1","keywords":["node-red","authentication","oauth","google"],"author":{"name":"By Wise Consulting"},"license":"MIT","_id":"@by-wise/node-red-auth-google@0.1.1","maintainers":[{"name":"domagalhaes","email":"daniel.magalhaes@bywise.com.br"}],"homepage":"https://github.com/by-wise/node-red-auth-google#readme","bugs":{"url":"https://github.com/by-wise/node-red-auth-google/issues"},"dist":{"shasum":"0c13f8f9c3582118c92dd6b6b403e650e0bed4dd","tarball":"https://registry.npmjs.org/@by-wise/node-red-auth-google/-/node-red-auth-google-0.1.1.tgz","fileCount":5,"integrity":"sha512-K7j51LJIj4LYN1ANyt5Y69xmFSMRsOhCGT4Ku5VO0CH0geBACvklTAuweic2A8iYSiPyzjmo8E86Jf3I78El+w==","signatures":[{"sig":"MEQCIG9BL8tTHebb7pgYtb4sm+AJKX97VlFHLFgpP7Dc6EclAiATHoUHi83cm/8FVBJKZWc8ZVcykAHnOo1HSZJzWQNVGA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6274},"main":"./lib/index.js","type":"commonjs","gitHead":"d87d1b9832f5d0b049edd1dfa1587b9f88b3c233","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"domagalhaes","email":"daniel.magalhaes@bywise.com.br"},"repository":{"url":"git+https://github.com/by-wise/node-red-auth-google.git","type":"git"},"_npmVersion":"11.6.2","description":"Node-RED Authentication with Google","directories":{},"_nodeVersion":"22.20.0","dependencies":{"passport-google-oidc":"^0.1.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/node-red-auth-google_0.1.1_1764009144945_0.3784093961238084","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@by-wise/node-red-auth-google","version":"0.1.2","keywords":["node-red","authentication","oauth","google"],"author":{"name":"By Wise Consulting"},"license":"MIT","_id":"@by-wise/node-red-auth-google@0.1.2","maintainers":[{"name":"domagalhaes","email":"daniel.magalhaes@bywise.com.br"}],"homepage":"https://github.com/by-wise/node-red-auth-google#readme","bugs":{"url":"https://github.com/by-wise/node-red-auth-google/issues"},"dist":{"shasum":"8fc304489873949aa96d6d6ef629123e62f01a2c","tarball":"https://registry.npmjs.org/@by-wise/node-red-auth-google/-/node-red-auth-google-0.1.2.tgz","fileCount":4,"integrity":"sha512-IftnRrP3BF59579U6we16rsJ1IJydyLLfyB/Wy4zzDhGkX6FCOAr5rw0CdD1Bv5CcHnnHRVbZjt3x04qR+yxrQ==","signatures":[{"sig":"MEYCIQDsGbke/0cN/ir21oLiDVhNBJRHEiOQPv9phiHzt8HXMQIhALVcTwx6xOuSV3NL8uXMXbwjFev5IOFB1lRnwroTNJub","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5834},"main":"./lib/index.js","type":"commonjs","gitHead":"d87d1b9832f5d0b049edd1dfa1587b9f88b3c233","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"domagalhaes","email":"daniel.magalhaes@bywise.com.br"},"repository":{"url":"git+https://github.com/by-wise/node-red-auth-google.git","type":"git"},"_npmVersion":"11.6.2","description":"Node-RED Authentication with Google","directories":{},"_nodeVersion":"22.20.0","dependencies":{"passport-google-oidc":"^0.1.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/node-red-auth-google_0.1.2_1764098550330_0.8303818128486782","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@by-wise/node-red-auth-google","version":"0.1.3","description":"Node-RED Authentication with Google","keywords":["node-red","authentication","oauth","google"],"homepage":"https://github.com/by-wise/node-red-auth-google#readme","bugs":{"url":"https://github.com/by-wise/node-red-auth-google/issues"},"repository":{"type":"git","url":"git+https://github.com/by-wise/node-red-auth-google.git"},"license":"MIT","author":{"name":"By Wise Consulting"},"type":"commonjs","main":"./lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"passport-google-oidc":"^0.1.0"},"gitHead":"7ffd92a3a46dbbbe203e80fdcc4d9a0c34e89a23","_id":"@by-wise/node-red-auth-google@0.1.3","_nodeVersion":"22.20.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-ABF/ZMXMPcWSMLjpuR7cvt6EBoTV/QPIwhFPLXDZ04yqFlvbDb7xqMEqXVPVs/vogJAcjV5Q94L2jBYjjE2ZAw==","shasum":"e9837e964f469320dd550b7364b6495535b9ee04","tarball":"https://registry.npmjs.org/@by-wise/node-red-auth-google/-/node-red-auth-google-0.1.3.tgz","fileCount":4,"unpackedSize":6397,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIA5Fznt1M4g4JQbxGO+PhdCXuKdF3s2lLSeuE5PtzM+vAiEAqwtZrNAf/M+2VCHHCO6bXeDyTG0ZRjUYphE6IV5Of+4="}]},"_npmUser":{"name":"domagalhaes","email":"daniel.magalhaes@bywise.com.br"},"directories":{},"maintainers":[{"name":"domagalhaes","email":"daniel.magalhaes@bywise.com.br"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/node-red-auth-google_0.1.3_1764162367019_0.7132090903884558"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-24T14:32:29.929Z","modified":"2025-11-26T13:06:07.404Z","0.0.1":"2025-11-24T14:32:30.164Z","0.0.2":"2025-11-24T17:29:32.418Z","0.1.0":"2025-11-24T18:19:54.273Z","0.1.1":"2025-11-24T18:32:25.182Z","0.1.2":"2025-11-25T19:22:30.545Z","0.1.3":"2025-11-26T13:06:07.195Z"},"bugs":{"url":"https://github.com/by-wise/node-red-auth-google/issues"},"author":{"name":"By Wise Consulting"},"license":"MIT","homepage":"https://github.com/by-wise/node-red-auth-google#readme","keywords":["node-red","authentication","oauth","google"],"repository":{"type":"git","url":"git+https://github.com/by-wise/node-red-auth-google.git"},"description":"Node-RED Authentication with Google","maintainers":[{"name":"domagalhaes","email":"daniel.magalhaes@bywise.com.br"}],"readme":"# Node-RED Authentication with Google Workspace\n\n[Node-RED](https://nodered.org) plugin for authenticating users with Google.\n\nThis modules lets you restrict access to the Node-RED editor to specific Google Workspace\nusers.\n\n**Note:** this requires Node-RED 0.17 or later\n\n## Install\n\nIn your Node-RED user directory, typically `~/.node-red`:\n\n```console\n$ npm install @by-wise/node-red-auth-google\n```\n\n## Usage\n\n### Register a new Google application OAuth 2.0 ID\n\nTo enable access control with Google Workspace, you must first [register a new application\non your Google Cloud Platform account](https://www.passportjs.org/packages/passport-google-oidc/#register-application).\n\nOnce created, you will be provided a _Client ID_ and _Client Secret_ that\nyou will need to use to configure the authentication plugin.\n\n### Configure `adminAuth`\n\nAccess control for the Node-RED editor is configured in your `settings.js` file\nusing the `adminAuth` property.\n\n```javascript\nadminAuth: require('@by-wise/node-red-auth-google')({\n    clientID: GOOGLE_CLIENT_ID,\n    clientSecret: GOOGLE_CLIENT_SECRET,\n    baseURL: \"http://localhost:1880/\",\n    users: [\n        { username: \"google_user_id\",permissions: [\"*\"]}\n    ]\n})\n```\n\nThe `baseURL` property is the URL used to access the Node-RED editor.\n\nThe `users` property is the list of Google Workspace users who are allowed to access the\neditor. It is the same as used by `adminAuth` as described in the [security documentation](http://nodered.org/docs/security), but without the `password` property.\n\nA default user can be specified by adding a `default` property to the options object:\n\n```javascript\nusers: [\n        ...\n    ],\ndefault: {\n        permissions: \"read\"\n    }\n```\n\n## Copyright and license\n\nBy Wise Consulting, http://bywise.com.br under [the MIT license](https://mit-license.org/).\nBased on [node-red-auth-github](https://github.com/node-red/node-red-auth-github): Copyright JS Foundation and other contributors, http://js.foundation under [the Apache 2.0 license](https://www.apache.org/licenses/LICENSE-2.0.txt).","readmeFilename":"README.md"}