Hi team,
I’m using n8n Cloud on a Free Trial.
Google OAuth fails when creating Google Sheets credentials with:
Error 400: redirect_uri_mismatch
redirect_uri: https://prathamchavhan.app.n8n.cloud/rest/oauth2-credential/callback
I am NOT using a custom Google OAuth client.
I also tried creating the credential without Client ID / Client Secret,
but Google Sign-In still shows the same error.
Workspace URL:
Could someone please reset Google OAuth for my workspace so it uses n8n’s default Google app?
Thanks in advance.
Describe the problem/error/question
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Hey there, I hope this can help you. Apparently there was an issue with n8n (several people having the same problem). n8n released version 2.1.4 to resolve this. Go to your n8n Cloud dashboard (Admin Panel) and check if an update is available. Upgrading to 2.1.4 or later should immediately fix the redirect_uri_mismatch error without you needing to change anything in Google Cloud.
n8n was displaying one redirect URL (e.g., https://oauth.n8n.cloud/oauth2/callback) but actually sending a different one (e.g., https://your-instance.app.n8n.cloud/rest/oauth2-credential/callback) to Google.