Google OAuth (Drive) integration failing in n8n — “Something went wrong” error

I’m trying to configure the Google Drive OAuth2 credential in my n8n instance (n8n Cloud) and it constantly fails with a “Something went wrong” black-screen error in the Google auth popup. The console shows an unknownerror from Anmelden – Google Konten.
Here’s what I’ve tried so far:
Created a completely new OAuth client in Google CloudSet “Web Application” type
Added Authorized Redirect URI: https://oauth.n8n.cloud/oauth2/callbackAdded Authorized JavaScript origins: https://app.n8n.cloud and https://oauth.n8n.cloud
Configured the OAuth consent screen, added my account as a test user
Tried in multiple browsers (Chrome, Firefox), cleared cookies and cache, and Incognito
Verified policies around cookies/third-party blocking
Created multiple new Google Cloud Projects
Despite all that, the Google popup still ends in “Something went wrong,” and I can’t complete the OAuth connection in n8n.
Could you please assist? Specifically:Can you check whether my n8n Cloud environment is blocking the OAuth handshake (e.g. via CSP or cookie policy)?Are there any logs or error traces on your backend you can share that point to root causes (e.g. redirect_mismatch, invalid_origin)?If anything in my OAuth client configuration is wrong (I’ll happily share client ID offline), can you guide me step-by-step or override settings on your side if needed?I’m stuck and this is blocking automations I need to build. Appreciate your prompt help.

i’m having the same error and trying to test N8N before comitting to a subscription. were you able to correct this?

I have the same issue. Did you find a solution?

Try updating the n8n version to 2.1.4 or later. There was a known issue with OAuth… just updating the version might solve this issue! :slight_smile: @Dylan_Silverstein @Ashlyn_Smith @Ralph

Thank You very much! It works!

1 Like

n8n version 2.2.0 (beta) seems to have this issue as well. Downgraded to v2.1.5 and it works again.