You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I've been using this module for couple of years now, but recently (end of september), I could not get anymore a master token.
I get : /var/www/html/plugins/ghlocal/resources# python3 /var/www/html/plugins/ghlocal/core/class/../../resources/get_tokens_verbose.py [email protected] xxxxxxxxxxxxxx True DEBUG:glocaltokens.client:Initializing new GLocalAuthenticationTokens instance. DEBUG:glocaltokens.client:Set GLocalAuthenticationTokens client access_token, homegraph, access_token_date and homegraph_date to None DEBUG:glocaltokens.client:Set GLocalAuthenticationTokens client username to "a<redacted>", password to "<redacted>", master_token to "None" and android_id to None DEBUG:glocaltokens.client:There is no stored master_token, logging in using username and password DEBUG:glocaltokens.client:There is no stored android_id, generating a new one DEBUG:glocaltokens.client:Generating android id... DEBUG:glocaltokens.client:Generated android id: d3e233381e693276 ERROR:glocaltokens.client:[!] Could not get master token. DEBUG:glocaltokens.client:Request response: {'Error': 'NeedsBrowser', 'Url': 'https://accounts.google.com/signin/continue?sarp=1&scc=1&continue=https://accounts.google.com/o/android/auth?hl%3Den_us%26xoauth_display_name%3DAndroid%2BLogin%2BService%26source%3DAndroid%2BLogin&plt=AKgnsbu2LrQj_nFyBTUd8kjYvE55a2jPxqTSXdCi82HAU1-uhuaC_Aq04mX9j8NUBOVsD39HsHHbJ78hU7sclkEJBqYGhZ1EB4ZM0NA52Lj5nHka_r6ohFpl2Cf80p4FyokZRQ6SEt7B', 'ErrorDetail': 'To access your account, you must sign in on the web. Touch Next to start browser sign-in.'} None
To Reproduce
Debian 10
glocaltokens Version: 0.7.2
gpsoauth Version: 1.1.1
ghome-foyer-api Version: 1.0.0
protobuf Version: 4.25.5 but also tried with 3.20.3
Python 3.9.2
I have activated the 2FA on my google account and created a dedicated application password
The master token is not recovered and instead I get this above-mentionned error Request 'NeedsBrowser'
Please let me know if this issue is known or if you need more information from me to investigate.
Many thanks !
I cannot tell you the history of python modules versions, I'm using this module through a plugin of Jeedom (Home assistant like) and I remember having launched updates that could have upgrade modules...
The text was updated successfully, but these errors were encountered:
Describe the bug
I've been using this module for couple of years now, but recently (end of september), I could not get anymore a master token.
I get :
/var/www/html/plugins/ghlocal/resources# python3 /var/www/html/plugins/ghlocal/core/class/../../resources/get_tokens_verbose.py [email protected] xxxxxxxxxxxxxx True DEBUG:glocaltokens.client:Initializing new GLocalAuthenticationTokens instance. DEBUG:glocaltokens.client:Set GLocalAuthenticationTokens client access_token, homegraph, access_token_date and homegraph_date to None DEBUG:glocaltokens.client:Set GLocalAuthenticationTokens client username to "a<redacted>", password to "<redacted>", master_token to "None" and android_id to None DEBUG:glocaltokens.client:There is no stored master_token, logging in using username and password DEBUG:glocaltokens.client:There is no stored android_id, generating a new one DEBUG:glocaltokens.client:Generating android id... DEBUG:glocaltokens.client:Generated android id: d3e233381e693276 ERROR:glocaltokens.client:[!] Could not get master token. DEBUG:glocaltokens.client:Request response: {'Error': 'NeedsBrowser', 'Url': 'https://accounts.google.com/signin/continue?sarp=1&scc=1&continue=https://accounts.google.com/o/android/auth?hl%3Den_us%26xoauth_display_name%3DAndroid%2BLogin%2BService%26source%3DAndroid%2BLogin&plt=AKgnsbu2LrQj_nFyBTUd8kjYvE55a2jPxqTSXdCi82HAU1-uhuaC_Aq04mX9j8NUBOVsD39HsHHbJ78hU7sclkEJBqYGhZ1EB4ZM0NA52Lj5nHka_r6ohFpl2Cf80p4FyokZRQ6SEt7B', 'ErrorDetail': 'To access your account, you must sign in on the web. Touch Next to start browser sign-in.'} None
To Reproduce
Debian 10
glocaltokens Version: 0.7.2
gpsoauth Version: 1.1.1
ghome-foyer-api Version: 1.0.0
protobuf Version: 4.25.5 but also tried with 3.20.3
Python 3.9.2
I have activated the 2FA on my google account and created a dedicated application password
The master token is not recovered and instead I get this above-mentionned error Request 'NeedsBrowser'
Please let me know if this issue is known or if you need more information from me to investigate.
Many thanks !
I cannot tell you the history of python modules versions, I'm using this module through a plugin of Jeedom (Home assistant like) and I remember having launched updates that could have upgrade modules...
The text was updated successfully, but these errors were encountered: