Hi,
I’m trying to set up Gmail with OAuth2 in n8n, but when I create a new Gmail OAuth2 API credential, I only see the option to “Sign in with Google.”
There is no field for Client ID / Client Secret and no Redirect URL shown anywhere — even when I create a brand new credential or scroll to the bottom.
I already:
Deleted old Gmail credentials in n8n
Removed n8n access from my Google Account (Security → Third-party apps → Remove access)
Tried creating new credentials multiple times
But the UI never shows the Redirect URL that I need to paste into my Google Cloud OAuth Client.
Hi @sihotangs
Have you tried creating Credentials directly in the credentials tab? do you have the same behavior?
Not sure what n8n versions you are using but also suggest using an up-to-date version, some older versions could have buggy credential UIs that don’t expose these options properly.
If self-hosted, try clearing browser cache or incognito mode, or even restart n8n instance after clearing credentials.
Hope this helps
I’ve had this problem consistently with google docs nodes, slides nodes, and gmail nodes these last 2 weeks!
Same behavior in the credentials tab.
My workaround is to use a google drive node, set up my credential in google cloud console there (client id/secret) then the 1-click sign-in for the node I want works.
But for gmail? Literally no idea. Can’t find anyone else whos solved this either.
Whoever responds from the n8n team always says “just use the 1-click sign in” but it doesn’t work - you get an unauthorized error because you haven’t set up the cloud console auth yet. (see screenshot)

