cevoaustralia / aws-google-auth

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

Something went wrong - Could not find SAML response, check your credentials or use --save-failure-html to debug #259

Open zoobot opened 2 years ago

zoobot commented 2 years ago

Is this supposed to pop up the browser? It opens the CAPTCHA in osx's preview and then fails after entering the CAPTCHA. Anything else I need to do to get it to work? What version of python is this supposed to have? Thanks

aws-google-auth -p envname
Google Password: 
Please visit the following URL to view your CAPTCHA: https://accounts.google.com/Captcha?v=2&ctoken=AAWk9lRE6PQ7w5_oHQH2dxEIkquWXXQVUu-54fXpfajYcUnPQLyY6_LG1nz3bBRpNQGr6e2s9twjMMUZPD77VmvOryUd5qCSoFxLIjG5v5xuivFynt0aLe4qsgm7VIaJsRWShq-al0Hf_iAo0qr-dQRvHottqMNnowTin4yRvMAV7Uu_1bGgRENUGtaq77GkCjDZN4T_t5wb
Captcha (case insensitive): notipoeuff
Something went wrong - Could not find SAML response, check your credentials or use --save-failure-html to debug
patatoid commented 2 years ago

+1 :'(

tyoras commented 2 years ago

+1

lucasgouvea commented 2 years ago

same

sbbowers commented 1 year ago

This error occurred for me when I was using the keyring feature to save my password and my organization required me to update my password. aws-google-auth seems to implicitly trust that the password in your keyring is correct, and offers no way to detect/update/recover from this scenario. I was able to recover manually with:

python3 <<< 'import keyring; keyring.delete_password("aws-google-auth", "mygoogleuser");'

And then re-login.

philipbankier commented 11 months ago

+1

ralthi commented 7 months ago

+1