N8N Google OAuth verifification Issue

Hey guys,

I’ve seen, that this issue a lot of users have. For some have an update worked, for me not.

I have the latest version of n8n. It is self hosted and managed with coolify (on Dockers).

I created the API in the Google cloud, added my e-mail-address, added the URI callback, with https.

But, on my end, if I want to add the credentials, the OAuth Redirect URL is without a https:

I’ve used all this stuff before, but, it seems, that there has been an update on Google’s end, so, my configuration is not working anymore, since I don’t used it for over 6 months.

Now I also tried to edit the varibles in the docker composer file through coolify, seems, that it has not worked…

Can anyone please help me, to get this issue fixed?

I would be very thankful guys!

Eugene

I still cannot get it right after several tries….but I will try and test it again

Hi @Eugen_G ,

I am running n8n on localhost via Docker and I ran into a credentials issue because my “OAuth Redirect URL” was showing a local IP address (http://192.168…) which caused Google to throw an error.

I added the following line to my .env file:
N8N_EDITOR_BASE_URL=http://localhost:5678/

Then, in Terminal:
docker compose down
docker compose up -d

The “OAuth Redirect URL” updated to:
http://localhost:5678/rest/oauth2-credential/callback

This resolved the issue for me.

2 Likes

thank you mate.

Interesting thing. I’ve changed the docker compose file, like you said, didn’t worked for me.

I just removed the port and it worked.

The interesting part is, that I’ve changed it yesterday already and it hasn’t worked ^^

Maybe I’ve done a mistake yesterday after not seeing the forest because of all the trees.

Thanks a lot, but this has solved my issue!

Big, Big Thank you!!!

this should do the trick.

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