leikoilja / ha-google-home

Home Assistant Google Home custom component
MIT License
407 stars 68 forks source link

Could not get access token, Google Workspace Account #864

Open janewayuk opened 2 months ago

janewayuk commented 2 months ago

Describe the bug

I have managed to generate a Master Token using the docker container, But the script also returned "could not get access token"

As a access token wasn't mentioned on the setup readme I copied the master token into the integration setup and it seemed to save. But no devices/entities showed up :(

I'm using a Google Workspace account

Any help would be amazing!

Version of the integration

If you are unsure about the version check the github release here.

v1.11.0

Logs

2024-05-06 14:13:45.915 ERROR (SyncWorker_1) [glocaltokens.client] [!] Could not get access token.
This error originated from a custom integration.

Logger: glocaltokens.client
Source: custom_components/google_home/api.py:99
integration: Google Home (documentation, issues)
First occurred: 14:03:28 (2 occurrences)
Last logged: 14:03:37

[!] Could not get access token.
KapJI commented 2 months ago

Google Workplace account probably have different authentication process. Can you register normal Google account and invite it to your Google Home? Then you should be able to login with it.