Unable to Connect Google Account in n8n Despite Adding Myself as Test User in OAuth Consent Screen

Hi n8n Community,

I’m having trouble connecting my Google account to n8n using OAuth2. Here’s what I’ve done so far:

  • I created a Google Cloud project and set up the OAuth consent screen.
  • I added my email (see attached screenshot) as a Test User, and the app is in “Testing” mode.
  • I have entered the OAuth 2.0 redirect URI from n8n into the Google Cloud Console.
  • The required Google APIs are enabled for the project.

However, when I try to authenticate my Google account in n8n, I’m still unable to complete the connection. I don’t see any option to input my own Client ID/Secret in n8n Cloud-only a “Sign in with Google” button. I’ve tried using incognito mode and double-checked the redirect URI, but the issue persists.

Hi @Himanshu_meghvanshi! :wave:

I’ve successfully connected to Google Cloud via OAuth in n8n, so I might be able to help troubleshoot.

Could you clarify which Google credential you’re trying to connect? Also, if possible, please share some screenshots of the steps you’re taking — that would help identify where things might be going wrong.

Here’s what worked for me:

  1. I went to Google Cloud OAuth Clients

  2. Created a new OAuth client

  3. Got the Client ID and Client Secret

  4. Under Authorized redirect URIs, I added:

    https://oauth.n8n.cloud/oauth2/callback
    

That was it — connection worked smoothly after that.

Let me know if this helps or if you’re running into a specific error. Happy to take a closer look! :blush: