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

Unable to login with normal password or app password #930

Open
Cypherous opened this issue Nov 23, 2024 · 6 comments
Open

Unable to login with normal password or app password #930

Cypherous opened this issue Nov 23, 2024 · 6 comments

Comments

@Cypherous
Copy link

To help us to resolve this issue please include the following information:

  • The GH integration just errors saying my username and password is invalid, its not i have triple checked, i even created an app password and that still can't login either
  • Open integrations > click google_home > try to login
  • I assume 1.12.1 as it was installed today and that is the most recent version
  • Not installed, i am not after the master token i'm happy just giving it my login credentials
  • No idea what logs you need nor how to get them
@halfspin-qc
Copy link

same issue here....

  • I have 2 FA enabled
  • I generated app password and still does not help
  • Even tried just using my regular username and password but not useful
  • In the steps I cannot get to the 'configure' option, the app can't be configured before authentication
  • Saw the logs but I am not able to debug the errors with my limited knowledge

@Bechrissed
Copy link

Bechrissed commented Dec 16, 2024

Same here, unable to login and configure. Not with app password, not with username password having tried two accounts both non-Gsuite accounts with that has 2FA enabled the other account hasn't.

Two log entries regarding the error:

Logger: glocaltokens.client
Source: custom_components/google_home/api.py:77
integration: google_home (documentation, issues)
First occurred: 13:36:06 (7 occurrences)
Last logged: 15:49:24

[!] Could not get master token.

and

Source: custom_components/google_home/config_flow.py:138
integration: google_home ([documentation](https://github.com/leikoilja/ha-google-home), [issues](https://github.com/leikoilja/ha-google-home/issues))
First occurred: 13:36:06 (7 occurrences)
Last logged: 15:49:24

Failed to get master token
Traceback (most recent call last):
  File "/config/custom_components/google_home/config_flow.py", line 138, in _get_master_token
    master_token = await client.async_get_master_token()
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/google_home/api.py", line 81, in async_get_master_token
    raise InvalidMasterToken
custom_components.google_home.exceptions.InvalidMasterToken```

@peterneuteboom
Copy link

same here: not able to log in with google username and app password

@mekeppler
Copy link

mekeppler commented Jan 1, 2025

Same issue: not able to log in with google username and app password.

Tried 4 options:

  • full email (xxx@gmail.com) with app-specific password
  • full email (xxx@gmail.com) with my normal Google password
  • username only (xxx) with app-specific password
  • username only (xxx) with my normal Google password

Also tried deleting/recreating a new app password, but it did not work

See the same error in the logs every time:

2025-01-01 17:30:22.119 ERROR (SyncWorker_5) [glocaltokens.client] [!] Could not get master token.
2025-01-01 17:30:22.123 ERROR (MainThread) [custom_components.google_home] Failed to get master token
Traceback (most recent call last):
  File "/config/custom_components/google_home/config_flow.py", line 138, in _get_master_token
    master_token = await client.async_get_master_token()
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/google_home/api.py", line 81, in async_get_master_token
    raise InvalidMasterToken
custom_components.google_home.exceptions.InvalidMasterToken

@giuseppebaldi
Copy link

Same here, tried every way possible. Seeing in logs [!] Could not get master token and Failed to get master token.

@Dengazzz
Copy link

Dengazzz commented Jan 8, 2025

same happened to me.

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