Issue with Google Calendar Integration

Hello everyone,

I’m desperately trying to add the Google Calendar integration to Home Assistant, but I just can’t get it to work. Even though I follow the official tutorial step by step and watch videos doing exactly the same thing, I always end up with a Google-side error. I consistently get the message:

“You can’t sign in to this app because it doesn’t comply with Google’s OAuth 2.0 policy for keeping apps secure.” and “Error 400: invalid_request”.

However, I did create the OAuth client with the redirect URI Link to OAuth2 Authorize Callback – My Home Assistant. I’ve tried setting the app to production, as well as test mode while correctly adding my account to the list of authorized users. I’m completely lost and can’t understand where the issue is coming from. I’ve also tried doing this with two different Google accounts, but nothing works.

Could someone please help me? Thank you and have a nice day.

While I do not know whether it is your issue, please make sure to remove the application credentials if you try to (re)install the integration:

  • settings
  • devices & services
  • 3 points at the top right of the page

Yes, I deleted those credentials for each test and also restarted HA

Hello, exactly i have the same problem. What i found was, that the Google-API running in Test-Mode only any days, then you have to renew the API-Secrets.

If you change from test-Mode in Public-Mode any steps more needed (Terms & Dataprotection-UrL’s and more.

Since 5 days i work in try & error-mode with that. Stupid, frustated and no step with success…

Everytime i add the Integration, fill the wizard and klick next: “Acces Blocked” with additional message “You can’t sign in to this app because it doesn’t comply with Google’s OAuth 2.0 policy for keeping apps secure.”

No idea more yet.

Maybe anyone have workarounds to solve and fix ist.