How to use google APIs with OAuth 2.0?

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 but this node has the following blocking issues: