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

Cannot get master token, requires browser #521

Open
kylewhirl opened this issue May 4, 2024 · 1 comment
Open

Cannot get master token, requires browser #521

kylewhirl opened this issue May 4, 2024 · 1 comment

Comments

@kylewhirl
Copy link

Describe the bug
Trying to use the example script to acquire a master token. I've logged in using an app password and the script outputs an error

To Reproduce
Steps to reproduce the behavior:

  1. Generate app password
  2. Run script with app password
  3. spits out error
    I am on a Macbook pro and my google account uses a passkey to sign in

Expected behavior
Output of master token

Additional context
Error logs:

ERROR:glocaltokens.client:[!] Could not get master token.
DEBUG:glocaltokens.client:Request response: {'Error': 'NeedsBrowser', 'Url': '[redacted]', 'ErrorDetail': 'To access your account, you must sign in on the web. Touch Next to start browser sign-in.'}
DEBUG:glocaltokens.client:Unable to obtain master token.
DEBUG:glocaltokens.client:[GRPC] Unable to obtain access token.
DEBUG:glocaltokens.client:Failed to fetch homegraph
[*] Google devices "[]"
@leikoilja
Copy link
Owner

i haven't tried myself, but i m pretty sure we dont support passkey authentication. That could be a reason why you get an error that browser is required even when you are using app password.

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

2 participants