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

Android security key causes error #154

Closed ljbade closed 4 years ago

ljbade commented 4 years ago

I get an error if I have an Android device selected as the security key in Google. See screenshot below (ignore the USB key, if I remove the USB key then I get the error as it tries the phone first):

image

ERROR:root:Was unable to find appid value in googles SAML page
Traceback (most recent call last):
  File "/home/leith/.local/lib/python3.6/site-packages/aws_google_auth/google.py", line 165, in find_app_id
    searchResult = re.search('"appid":"[a-z://.-_]+"', inputString).group()
AttributeError: 'NoneType' object has no attribute 'group'
stevemac007 commented 4 years ago

Latest release 0.0.33 I believe fixes this issue with the #145 fix. Please let me know if this still happens.

ljbade commented 4 years ago

@stevemac007 yes this release no longer crashes when I enable both keys.

Unfortunately it looks like I need to wait for a new release of https://github.com/Yubico/python-u2flib-host before my Thetis U2F key works on Linux. Hopefully it doesn't take too long.

stevemac007 commented 4 years ago

Hopefull - thanks for confirming @ljbade