Google Calendar - Repeated Auth Requests

Hello,

I am attempting to set up Google Calendar for the first time. After setting the configuration and restarting, I get a request to authorize Google Calendars on each subsequent restart (with different Auth IDs):
06%20AM

Each time I enter the code, and get a “ready to go” message from google, but I am still prompted the next time.

In my logger config, I have added (is this correct?):
homeassistant.components.google: debug

I have the following configuration.yaml:
google: !include config/google.yaml

config/google.yaml:
client_id: !secret google_oauth_client_id
client_secret: !secret google_oauth_client_secret

google_calendars.yaml:
- cal_id: !secret google_oauth_client_id
entities:
- device_id: calendar_all_events
name: All Events
track: true

Please let me know what I am doing wrong - no idea why it’s asking me to verify each time.

1 Like

Same problem her. Have you figured it out?

Nope - nothing at all. I cannot get it to authorize across reboots, and authorizing after boot is too late it seems.

I did not enter anything into my google_calendar.yaml. It will be populated automatically when you authenticate with Google.

And you are using an include in an include (!secret inside !google). I do not know if this has anything to do with it, but I have never tried that. I just added this to my configuration.yaml:

google:
  client_id: !secret google_client_id
  client_secret: !secret google_client_secret

and Bob is your mother’s brother.

I never get the google_calendar.yaml file to ever show up. Always entering the code, says “app connected”, but that’s all

hmmm. Did you try creating an empty google_calendar.yaml before starting Home Assistant?

I’m running into the same issue. Did you make any progress?

I gave up for the time - I will try again shortly.

I dug up this post because I have this problem myself. Did you solve this problem?

Same problem here. Got a “app connected” from google, but no google_calendar.yaml is created and after a restart, the message pops up again. Repeated the steps 3 times on 0.116.4. Any help appreciated.

As a sidenote, in my google-account, home-assistant isn’t listed in the active apps with access to my calendar.