Closed Ivesvdf closed 1 year ago
Hi @Ivesvdf
Could you post a screenshot of what the credentials page on your Google API cloud account looks like (with you client ID + secret hidden)?
Hi, I see what you're getting at ;-). You're right I did it wrong, I should have picked web app and not Tv and limited input (like I would for google calendar). I'm guessing that'll be the issue.
Do you have a tip on how to make the HA system forget about the credentials I provided? Uninstalling and reinstalling the integration does not seem to do it. Restarting HA certainly does not.
On the integrations page in Home Assistant if you click on the 3 dots in the top right and go to application credentials you can manage and delete credentials there.
That fixed it, learned something new. Thanks! Closing as invalid.
System Health details
System Information
Home Assistant Community Store
GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 4194 Installed Version | 1.32.1 Stage | running Available Repositories | 1273 Downloaded Repositories | 13Home Assistant Cloud
logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okDashboards
dashboards | 7 -- | -- resources | 3 views | 9 mode | storageRecorder
oldest_recorder_run | April 14, 2023 at 18:51 -- | -- current_recorder_run | April 24, 2023 at 11:01 estimated_db_size | 306.36 MiB database_engine | sqlite database_version | 3.38.5Solcast PV Forecast
can_reach_server | ok -- | -- remaining_requests | 10 rooftop_site_count | 2 polling_hours | 6 -> 21 and once at midnightChecklist
Describe the issue
When adding the integration after entering the client id and token I'm redirected to a google page which shows 400: redirect url mismatch.
I'm not sure how to retry - restarting HA does not reprompt for credentials. Uninstalling and reinstalling the plugin does not reprompt for credentials.![image](https://user-images.githubusercontent.com/264447/233952778-0b8defa6-cadb-40cd-9ab4-35c3ff144863.png)
Reproduction steps
Debug logs
Diagnostics dump
No response