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

Could not find SAML response #137

Closed mtbvang closed 5 years ago

mtbvang commented 5 years ago

I'm having intermittent issues trying to do MFA. Normally I get a prompt on my mobile with the google app and after clicking yes it works.

Sometimes I get the following:

Choose MFA method from available:
2: TOTP (Google Authenticator)
3: SMS
Enter MFA choice number (3): 2
MFA Type Chosen: TOTP (Google Authenticator)
Something went wrong - Could not find SAML response, check your credentials or use --save-failure-html to debug.

When I set the saml.html page that is save is the same as the page that I get to using the google AWS app that I normally use to log from the browser. I can select the account an it logs me in without the MFA prompt on the phone, so it looks like I tried to authenticate while my previous token was still valid, but when I try to use the aws cli commands I don't seem to be authenticated.

Is this the expected response when trying to authenticate when your existing token is still valid?

mtbvang commented 5 years ago

I was working in a VM and restarted it and tried again and the google prompt on the phone worked.