Oauth2 Google Sheet - problem with URI Call back using n8n on my Mac

Describe the issue/error/question

I was able to to set up creedencials and use Google Sheet node on n8n Cloud.

I now installed n8n on my Mac and am having trouble setting up my Google API credencials:

  1. in n8n I added my clientID and client secret from Google Console
  2. I pasted the OAuth Redirect URL shown in n8n as one of the Authorized redirect URIs in Google Cloud.
  3. in n8n I clicked on Sign in with Google, and I am able to select my account as expected.
  4. After confirming my account I am getting this error screen:

Information on your n8n setup

  • n8n version: Version 0.198.2
  • Database you’re using (default: SQLite): not sure
  • Running n8n with the execution process [own(default), main]: not sure
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]: desktop app

Hi @fxholl, this looks like a problem with the tunnel URL provided by n8n. n8n cloud (and self-hosted instances on a webserver) would not use this tunnel which is why the authentication would have worked fine there.

From quickly testing the tunnel from my side it seems to be up and running, so I suspect the problem could be with your specific tunnel URL. Perhaps you could stop n8n desktop and try resetting your tunnel URL as described here? On the next launch, n8n should request a fresh tunnel URL which hopefully works as expected.

@MutedJam thanks! I followed the instructions in your post Connect n8n to webhook on desktop app - #2 by MutedJam and that did it!

1 Like

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