cevoaustralia / aws-google-auth

Provides AWS STS credentials based on Google Apps SAML SSO auth (what a jumble!)
MIT License
537 stars 181 forks source link

throwing this error after entering password #256

Closed jahir-biz closed 2 years ago

jahir-biz commented 2 years ago
ERROR:root:'NoneType' object has no attribute 'get'
Traceback (most recent call last):
  File "C:\Python\lib\site-packages\aws_google_auth\__init__.py", line 79, in cli
    process_auth(args, config)
  File "C:\Python\lib\site-packages\aws_google_auth\__init__.py", line 243, in process_auth
    google_client.do_login()
  File "C:\Python\lib\site-packages\aws_google_auth\google.py", line 256, in do_login
    passwd_challenge_url = 'https://accounts.google.com/' + form.get('action')
AttributeError: 'NoneType' object has no attribute 'get'
guisilva-cid commented 2 years ago

https://github.com/cevoaustralia/aws-google-auth/issues/253#issuecomment-1110957990

stevemac007 commented 2 years ago

Google looks to have made changes to the responses, a fix for this should be available in release https://github.com/cevoaustralia/aws-google-auth/releases/tag/0.0.38