Comments (8)
My mistake, I just reinstall using sudo pip install "aws-google-auth[u2f]"
, and now it's working as expected.
Thank you so much @kriation for your time.
from aws-google-auth.
@ingluife, could you run through it again, passing --save-failure-html and --save-saml-flow?
The first will save any failures to saml.html in the local directory. The second will generate a directory with multiple files that include the GET and POST responses in each step of the flow.
Once generated, attach them to this issue.
from aws-google-auth.
Hi @kriation These are the files generated:
aws-google-auth-2022-08-26T171901.zip
Thanks for answering
from aws-google-auth.
Thanks for sharing the debug output, @ingluife.
Can you try again by adding --bg-response js_enabled
as an argument?
Based on the contents of ac.go.com~signin~v1~lookup_5_POST.req
, it looks like bg_response is being set to disabled which may explain why you're experiencing the same as what was reported in #219.
from aws-google-auth.
Hi @kriation, I got the same Error (adding --bg-response js_enabled):
ERROR:root:'NoneType' object has no attribute 'find_all' Traceback (most recent call last): File "/home/user/.local/lib/python3.9/site-packages/aws_google_auth/__init__.py", line 79, in cli process_auth(args, config) File "/home/user/.local/lib/python3.9/site-packages/aws_google_auth/__init__.py", line 243, in process_auth google_client.do_login() File "/home/user/.local/lib/python3.9/site-packages/aws_google_auth/google.py", line 291, in do_login sess = self.handle_captcha(sess, payload) File "/home/user/.local/lib/python3.9/site-packages/aws_google_auth/google.py", line 433, in handle_captcha for tag in form.find_all('input'): AttributeError: 'NoneType' object has no attribute 'find_all'
from aws-google-auth.
@ingluife, can you run it with --save-saml-flow and bg-response js_enabled? Once complete, please attach the files you did previously.
from aws-google-auth.
@kriation This is the output:
aws-google-auth-2022-09-01T175617.zip
from aws-google-auth.
@ingluife, I don't think you're running v0.0.38.
The output you included indicates that the code is not handling bgresponse properly. In addition, the stacktrace you pasted indicates that line 433 in google.py is for form.find_all('input')
Line 433 in google.py for v0.0.38 is a new line (https://github.com/cevoaustralia/aws-google-auth/blob/0.0.38/aws_google_auth/google.py#L433)
Please clean up your installation and re-install using the instructions listed in the readme (https://github.com/cevoaustralia/aws-google-auth#installation)
from aws-google-auth.
Related Issues (20)
- User Experience issue: use of $AWS_PROFILE sometimes results in data loss
- Took me ages to find where SP_ID is despite docs
- Usability enhancements
- Failed to get password chalenge HOT 10
- aws-google-auth is failing on ubuntu 20.04.4 LTS HOT 2
- 'NoneType' object has no attribute 'get' 'https://accounts.google.com' + form.get('action') - Not Able to Login HOT 6
- aws-google-auth failing after captcha with AttributeError HOT 22
- throwing this error after entering password HOT 2
- Docker image not at latest version
- Something went wrong - Could not find SAML response, check your credentials or use --save-failure-html to debug HOT 6
- Provide means to run local unit tests consistently
- Anyone knows whats the error: No module Named as "aws_google_auth" it is underscore? not aws-google-auth HOT 4
- View captcha on Linux over SSH fails
- response signature invalid (u2f) HOT 3
- Publish the version of the docker code that does not ask captcha HOT 1
- how to get rid of captcha?
- Suddenly receiving error HOT 1
- ERROR:root:'NoneType' object has no attribute 'get' HOT 28
- Getting invalid username or password HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-google-auth.