Issue Configuring OAuth2 with Google on n8n self hosted

Hi everyone! I’m facing an issue creating Google credentials and using the respective nodes. When I try to create a credential using OAuth2 connection for Google Drive, essential fields like Client ID and Client Secret don’t appear in the interface, as shown in the attached image. Without these fields, I can’t complete the authentication process. Has anyone experienced this before or have any suggestions?

Information on your n8n setup

  • n8n version: 1.112.3
  • Database: Postgree
  • Running n8n via: Docker
  • Installation type: self-hosted
  • Operating system: Linux

https://console.cloud.google.com/ buraya gidiyorsun,
https://console.cloud.google.com/apis/credentials sonra bu sayfayı bul ve burada +create credentials tıkla ve içinden api key göreceksin ve bir altında da OAuth client Id bu iiksi senin tüm işinini yapacak googlede

Hey!

Does your URL has https ?

If you self host, means you own a domain that points to your local instance?

I already have the credentials created in Google. The problem is that in N8N, the fields to input these credentials don’t appear.

Yes, my domain points to my server. And yes, my URL is https.

I have additional information about this case. When I open the node editor to create the credential, the fields to input the credentials appear for a fraction of a second and then disappear. I believe this might be a bug or some permission issue.

If you have the following env variable in your docker run command or docker compose file: N8N_DEFAULT_LOCALE remove it and restart the server.

1 Like

It worked!!
Thanks so much, bro, you saved my life!!!

1 Like

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