Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OAuth2 authentication #23

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Add OAuth2 authentication #23

wants to merge 13 commits into from

Conversation

pckhib
Copy link

@pckhib pckhib commented Oct 1, 2019

Added node for OAuth2 authentication and updated googleapis version.

pckhib and others added 13 commits January 6, 2019 17:55
googleapis dependency updated to v36.0.0
Replace the JWT Service authentication with OAuth2 Authentication.
Update readme documentation to describe the OAuth2 authorization workflow.
Set project name to node-red-contrib-google-oauth2
Since Node-Red v1.0, Node-Red uses a lot of cloning messages to ensure there is no unintended modification of message objects that get reused. As the clone function cannot clone "res", I propose to delete that part of the message. Otherwise I had the following error: node:1408) UnhandledPromiseRejectionWarning: TypeError: Cannot set property bytesRead of #<Socket> which has only a getter
Let the object message output of the node be clonable
* Update package.json

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* Update google.js

* Update google.js

* Update google.js

* Update google.js

* Update google.js

* Update google.js

* Update google.js

* Update google.js

* Update package.json

* Update google.js

* Update google.js

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* return back test

* polish google.js

* Delete .gitignore

* Delete run.sh

* Delete test.js

* Create .gitignore
This PR allows the catch node to properly catch errors thrown.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants