#Removed working Nest integration and cannot successfully re-add (400: Bad Request)

1 messages · Page 1 of 1 (latest)

topaz sonnet
#

Hi all, have had the pub/sub Nest integration working for years, but recently got a new Gen4 thermostat and couldn't get back to the individual device authorization page, so I removed the entire thing and re-added it. Bad idea! I can get all the way through the flow and authorize the new device, but the final step fails when redirecting back to my HA instance. I set the permissions, choose my account, acknowledge that Google hasn't verified this app, and grant home-assistant.io access to my account, then the final step is "Link account to Home Assistant?"

When proceeding from that step, it just drops me at a white page with 400: Bad Request.

My "my" integration has the correct URL for its alias, the redirect is happening to my actual server, but the actual /auth/external/callback?code=<long string> request seems to be failing every time. Nothing in the logs to troubleshoot so I'm not sure what to try next! Thanks in advance for any help.

topaz sonnet
#

I ultimately resolved this by just deleting all of my old Google cloud apps, oauth stuff, device access stuff, and setting everything up again from scratch. Something was in a bad state somewhere and nuking it from orbit was the only way to be sure