Cannot authenticate with Google, won't redirect to challenge page
See original GitHub issueHave been using the docker image with this repo to authenticate with Google for some time. As of yesterday it stopped working with the following error message:
ERROR:root:'NoneType' object has no attribute 'get'
Traceback (most recent call last):
File "/build/aws_google_auth/__init__.py", line 78, in cli
process_auth(args, config)
File "/build/aws_google_auth/__init__.py", line 242, in process_auth
google_client.do_login()
File "/build/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'
I have removed the image and downloaded the latest version and still get the error. I have also created a virtual environment with the latest python packages and run the following command and still no joy.
aws-google-auth -k -p ${AWS_PROFILE_NAME} -I ${GOOGLE_IDP_ID} -S ${GOOGLE_SP_ID} -R ${AWS_DEFAULT_REGION} --resolve-aliases -q
I have exported the challenge page to html (attached). Everyone else in my organisation is still able to use the repo to authenticate. Any thoughts? It appears to be a similar comments in https://github.com/cevoaustralia/aws-google-auth/issues/160
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Troubleshoot login challenges, 2-Step Verification, & sign-in ...
You can only resolve the issue by first disabling the login challenge. If a user forgets the password for their managed Google account...
Read more >AuthenticationProperties.RedirectUri is not passed to Google ...
RedirectUri = Server.UrlEncode(redirectUri); Context.GetOwinContext().Authentication.Challenge(properties, "Google");. This correctly sends the ...
Read more >FIX Recaptcha Not Working in Google Chrome [Tutorial]
Upon reloading the web page, affected users receive a message warning them ... This is applicable to all browser versions, not just Chrome....
Read more >Sign In With Google JavaScript API reference | Authentication
You actually reset the configurations whenever you call the google.accounts.id.initialize method, and all subsequent methods in the same web page will use the ......
Read more >Unable to load gitlab.com login page in web browser, Under ...
I can't log into Gitlab.com, which I use every day, all day, for work, on multiple projects. I'm using Chrome, Version 83.0.4103.116 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I was getting the same problem, but I just added this flag
--bg-response js_enabled
, running the latest version of aws-google-auth (0.0.38).aws-google-auth --bg-response js_enabled
My whole team started getting below error with aws-google-auth. We tried resetting cookies, uninstalled & installed aws-google-auth but did not help. Can some please shed some light on it. It was working fine until yesterday.