Google Sheet Auth on n8n self hosted

Hi there,

Sorry if my question look weird :slight_smile:
I’m facing issues connecting to Google Sheet in my n8n self hosted. When i want to use oauth, i’m having this screen :

And i cant manage to connect.

When i try on n8n Cloud, i’m having this screen and it works perfectly :

Is the difference between cloud/hosted is normal ? Am I missing something ?

Thank you for your help :slight_smile:

Good Morning @dubarseo,

This would indeed be expected. On we can provide a pre-configured Google client application which is why you wouldn’t need to manually enter client ID and secret.

On your self-hosted instance we do, however, not have control over the server n8n is running on and especially not the (sub-)domain for this server. So you would need to register your individual redirect URL (shown in your first screenshot) with Google and get the Client ID and Client Secret in return which you need to add in n8n. The whole process is documented here:

Afterwards, you’ll be able to sign in with Google on your self-hosted instance as well.

1 Like

I was sure my question was noob, thanks for your help :slight_smile:

1 Like

You are most welcome! You might encounter such a difference for a few other services as well btw (though in many cases the process is simpler than it is with Google).

1 Like