# Google oauth2 doesn't work

**URL:** <https://discourse.nodered.org/t/google-oauth2-doesnt-work/52802>\
**Category:** General\
**Created:** [27 October 2021 07:06 UTC](https://discourse.nodered.org/t/google-oauth2-doesnt-work/52802 "2021-10-27T07:06:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Schaerlis](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/schaerlis/32/50037_2.png) [@Schaerlis](https://discourse.nodered.org/u/Schaerlis)\
**Post date:** [27 October 2021 07:06 UTC](https://discourse.nodered.org/t/google-oauth2-doesnt-work/52802/1 "2021-10-27T07:06:15Z")

</div>

Dear all,

I'll try to make a flow with my google calendar. I have some trouble with the oauth2.  
When i open the "goolge calendar"-Flow i'll get a Notice witch contains this message:

"appears you are running on a private IP address that the Google service cannot reach. Please configure the authorized Redirect URIs of your app to include the following url:

[http://node-red.example.com:1880/google-credentials/auth/callback](http://node-red.example.com:1880/google-credentials/auth/callback)  
You will need to edit your hosts file and add an entry for [node-red.example.com](http://node-red.example.com) that points to 192.168.0.56 .

You also need to enable the Google+ API for your new project in the Google Developers Console."

My Node-red runs normaly on a Raspi and i don't know what i have to configure, that i can do the point to my local adress.

I have do all the stuff on the Goolge API side. So i got a oauth-Token and have this one configured with "localhost"

Any help for me?

Thank you

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [26 December 2021 07:06 UTC](https://discourse.nodered.org/t/google-oauth2-doesnt-work/52802/2 "2021-12-26T07:06:58Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
