Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't sign in with App Password or regular password for Google workspace account with custom domain #854

Open
KishenG opened this issue Apr 6, 2024 · 12 comments

Comments

@KishenG
Copy link

KishenG commented Apr 6, 2024

Describe the bug

I have a Google Workspace account with my own personal domain (does not end in @gmail.com). I have created an App Password for the integration which gave me the 16 digit password (tried with an without spaces after every 4 characters. I get the error message "Username/Password is incorrect. If your google account has 2FA enabled please generate app password (https://myaccount.google.com/apppasswords). If authentication still fails refer to https://github.com/leikoilja/ha-google-home#troubleshooting"

I have not been able to get a Master Token as I an unable to understand the guidance.

Version of the integration

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

v1.11.0

Logs

2024-04-06 10:37:20.944 ERROR (SyncWorker_40) [glocaltokens.client] [!] Could not get master token.

@djuri2
Copy link

djuri2 commented Apr 6, 2024

hey there i have absolut the same problem. i probably was able to create the token but i do not if it ist correct. can someone explain how the token looks like ? is it a sha256code ? i got the question if my token has "aas_et/" do not know what his means? help

@djuri2
Copy link

djuri2 commented Apr 6, 2024

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
Logger: glocaltokens.client
Quelle: custom_components/google_home/api.py:60
Integration: google_home (Dokumentation, Probleme)
Erstmals aufgetreten: 02:50:05 (13 Vorkommnisse)
Zuletzt protokolliert: 17:46:09

master_token doesn't follow the AAS_ET format

@djuri2
Copy link

djuri2 commented Apr 6, 2024

Master Token ungültig. Stelle sicher, dass das vollständige Token angegeben wurde (inklusive 'aas_et/')

@djuri2
Copy link

djuri2 commented Apr 7, 2024

help?

@eebrault
Copy link

Can someone clarify where I get the Google account master token? That's the only thing holding me up.
Many Thanks!

@leikoilja
Copy link
Owner

Can someone clarify where I get the Google account master token? That's the only thing holding me up. Many Thanks!

@eebrault , please read the README: https://github.com/leikoilja/ha-google-home#master-token

@chuppito
Copy link

Hello, same problem unable to connect
Screenshot_20240519-234517

@CoryAlbrecht
Copy link

Can someone clarify where I get the Google account master token? That's the only thing holding me up. Many Thanks!

@eebrault , please read the README: https://github.com/leikoilja/ha-google-home#master-token

It doesn't really matter if it's a Google workspace account or just a regular Google account.

root@docker1[12:52:53]~# docker run --rm -it breph/ha-google-home_get-token
Unable to find image 'breph/ha-google-home_get-token:latest' locally
latest: Pulling from breph/ha-google-home_get-token
2f088d622efd: Pull complete
0188599e4719: Pull complete
0c29a314dea0: Pull complete
2f106c5bb655: Pull complete
50a99c299447: Pull complete
987516cbd67e: Pull complete
Digest: sha256:03433b75c70daedb445ef1d51996ecafe070313c9e42c1cdf10e8a835b01ea1b
Status: Downloaded newer image for breph/ha-google-home_get-token:latest
what is your google mail address? (include @gmail.com): «redacted»
what is the password? (either use regular password or app password): «redacted»

[*] Getting master token...
[!] Could not get master token.
[*] Master token: None

[*] Getting access token...
[!] Could not get access token.
[*] Access token: None

[*] Done.
root@docker1[12:54:44]~#

@fguerin2
Copy link

fguerin2 commented Aug 8, 2024

Thank for all, I the previous comment [CoryAlbrecht] and I used as password the password App. I recover the master token and the access token. Il works fine!

@CoryAlbrecht
Copy link

@leikoilja I Still cannot get a master token.

Did Google change their login processes at all?

@leikoilja
Copy link
Owner

@CoryAlbrecht, not that i am aware of. Have you tried logging using master token alone?

@CoryAlbrecht
Copy link

No. I cannot get a master token at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants