Open kwilkins-82 opened 2 years ago
Hi, Google has deprecated this method of authentication for new signups. I'm in active discussion with their developer relations on a new approach. See https://github.com/home-assistant/core/issues/67662 for more context
The issue seems to now be resolved for home-assistant. Will the same fix work for this project?
The reason it works with home assistant is because they have a http server endpoint to get the redirect url.
Basically, you're own your own to get the auth credentials, and we'll likely need to delete the code for this in the command line tool.
I'm a new user to this library and am also seeing this error. Does this mean we can't use this library until this is resolved? Are there any workarounds?
You likely can't use the command line tool anymore with desktop auth. You can use web auth, but you have to write your own oauth integration to get the access token..or maybe you could use a service account.
Probably the best next step for this is make the command line took work with a service account.
I've been through the Client ID and project set up steps, and I'm trying to connect using the following command:
google_nest --project_id="${PROJECT_ID}" --client_id="${CLIENT_ID}" --client_secret="${CLIENT_SECRET}" list_structures
After navigating to the provided URL, I can log in OK but I get an error after selecting devices - complaining the redirect_uri is not valid for a Web Service.
I tried setting it up as a Desktop Application instead as suggested - but that didn't work either giving the following error: