# How to use google APIs with OAuth 2.0?

**URL:** <https://discourse.nodered.org/t/how-to-use-google-apis-with-oauth-2-0/18498>\
**Category:** General\
**Created:** [27 November 2019 07:31 UTC](https://discourse.nodered.org/t/how-to-use-google-apis-with-oauth-2-0/18498 "2019-11-27T07:31:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![janvda](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/janvda/32/234_2.png) [@janvda](https://discourse.nodered.org/u/janvda)\
**Post date:** [27 November 2019 07:31 UTC](https://discourse.nodered.org/t/how-to-use-google-apis-with-oauth-2-0/18498/1 "2019-11-27T07:31:34Z")

</div>

I would like to use the Google APIs to add photos to one of my google photos albums.  
What is the best way to do this in Node-RED ?

It is mainly the part related to OAuth 2.0 where I am stuck.  
So for me it is sufficient to get an answer on the more general question:

> How to use google APIs with OAuth 2.0 in Node-RED ?

I have checked [node-red-contrib-google-oauth2](https://flows.nodered.org/node/node-red-contrib-google-oauth2) but this node has the following blocking issues:

- [Passing in msg.operation and msg.api not working](https://github.com/pckhib/node-red-contrib-google-oauth2/issues/1)
- documentation issue [How to use this node for Google Photos APIs ?](https://github.com/pckhib/node-red-contrib-google-oauth2/issues/4)

---

<div class="post-metadata">

**Author:** ![yedd](https://avatars.discourse-cdn.com/v4/letter/y/a6a055/32.png) [@yedd](https://discourse.nodered.org/u/yedd)\
**Post date:** [28 December 2022 15:15 UTC](https://discourse.nodered.org/t/how-to-use-google-apis-with-oauth-2-0/18498/2 "2022-12-28T15:15:38Z")

</div>

Did you ever figure out anything on Google APIs with OAuth2? I'm working on that, as well.

---

<div class="post-metadata">

**Author:** ![janvda](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/janvda/32/234_2.png) [@janvda](https://discourse.nodered.org/u/janvda)\
**Post date:** [28 December 2022 16:01 UTC](https://discourse.nodered.org/t/how-to-use-google-apis-with-oauth-2-0/18498/3 "2022-12-28T16:01:17Z")

</div>

I am sorry. I am not aware if this issue got ever resolved.
