Problem with google calendar credentials

Hey,

Firstly, thanks for being part of your community!

I am using n8n self-hosted on docker with nginx. I am trying to add credentials for Google calendar, but unfortunately I got stacked.

  1. I made new credential: flameshot_screenshot - Imgur
  2. I made a key for them: flameshot_screenshot - Imgur
  3. I made new credentials in n8n with
    3.1 Client ID: flameshot_screenshot - Imgur (tried also email)
    3.2 Client Secret: flameshot_screenshot - Imgur (I copied this key and replace \n to new line)

When I click Sign in with Google, I got auth error: flameshot_screenshot - Imgur

Also when I am in calendar node, I cannot load my calendars:

I am new in n8n so I am sorry if I am making stupid mistake

Thank you very much in advance!

Welcome to the community @Shirobachi

Did you follow The instructions below?

Yes,

I mean, before I was using Service Account instead of OAuth. Now I changed all staff to OAuth but still I cannot sing in with Google…

I am not sure if it’s related, but on n8n callback url had no / after dev (on google console I added ofc)
I also use password on my page


ahh yes., the missing / is an issue. You need to set the env variable WEBHOOK_TUNNEL_URL=https://yoururl/

Edit:

WEBHOOK_TUNNEL_URL was deprecated, use WEBHOOK_URL instead.

Yeah, it’s working! Lovely, thanks!

The great @krynble has also created a PR to fix this automatically in the future:

Hi Shirobachi,
Could you please tell me how you managed to use Service Account for Google Calendar? I don’t seem to be able to do it (see my post about it)
Thanks!

Here you go :slight_smile: