Google Drive OAuth 2 API

I want to connect Google Drive OAuth2 API with n8n.

The client ID and secret are correctly specified from Google Cloud.
The URL “123.app.n8n.cloud.” differs from the redirect URL (//outh.n8n.cloud/).

When I then start “Sign in with Google” at the end, I get the following message.


It is the same URL as in the browser “123.app.n8n.cloud.”, but not the same as the OAuth redirect URL. Both are stored in Google Cloud, by the way.

I don’t know why a connection cannot be established. Where is the error?

In your google cloud admin account when you setup the credential, did you use the redirect url provided from the auth screen? https://oauth.n8n.etcetc?

Yes, the redirect URL is available. That’s why I’m wondering.
image

Did you enabled the API in Google?

I created a step by step guide on how to configure google oauth last month.

1 Like

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