Stopped working circa 4/10/2020
See original GitHub issueSome people get Invalid username or password
.
I get:
ERROR:root:'NoneType' object has no attribute 'get' Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/aws_google_auth-0.0.34-py3.7.egg/aws_google_auth/__init__.py", line 75, in cli process_auth(args, config) File "/usr/local/lib/python3.7/site-packages/aws_google_auth-0.0.34-py3.7.egg/aws_google_auth/__init__.py", line 222, in process_auth google_client.do_login() File "/usr/local/lib/python3.7/site-packages/aws_google_auth-0.0.34-py3.7.egg/aws_google_auth/google.py", line 235, in do_login passwd_challenge_url = 'https://accounts.google.com' + form.get('action') AttributeError: 'NoneType' object has no attribute 'get'
Passwords are verified correct, I’ve tried no cache, I’ve tried adding a new account, and I’ve tried resetting my Google password all to no avail.
It looks like Google changed something. Let me know how I can help diagnose it.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:51
- Comments:58 (8 by maintainers)
Top GitHub Comments
@brunodasilvalenga’s fix worked for me. Here’s how you can use it:
I saw that the user @ramnes (Thanks mate) created a pull request resolving the conflict in captcha request but still continue to receive authentication errors, after a few hours of debugging I discovered that you cannot send the password together with the captcha, first you need to pass the captcha and after that it redirect you (301) to the password authentication page. I changed the code to include this new request and everything worked again.
I’ve created a pull request for that.
Please feel free to ask any question 😃