Node-RED node for Google APIs call using OAuth2.
npm install node-red-contrib-google-oauth2
npm install node-red-contrib-google-oauth2
`
or for a global installation
`
npm install -g node-red-contrib-google-oauth2
`
Configuration
1. Generate OAuth credentials at Google API Console.
* Choose Web Application.
* As Authorized JavaScript origins enter your Node-RED IP (_e.g. http://localhost:1880_)
* As Authorized redirect URIs enter your Node-RED IP plus /google-credentials/auth/callback (_e.g. http://localhost:1880/google-credentials/auth/callback_)
2. Copy the Client ID and Client secret` and paste them into the Config Node