N8n Cloud Google Drive OAuth2 failing: redirect_uri_mismatch (Gmail + Workspace)

Thank you so much! It worked for me.

how do i upgrade

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.

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.

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.

Hope this solves your issue, fingers crossed!

Yes, same issue here (but on self hosted)
Really annoying

This works for me also, but with service account you can only login to google drive. (now it seem I can login to other services also)

It works for me in version 2.1.4 Latest Stable.

I tried with latest v1 version, and its working in v1
so it’s really something broken in v2

You just became THE SUPERMAN for us! Really Really Thank You
It is Working