aws-google-auth: Problems with Google Prompts
Few of the user in my company face problem where they get a Google Prompt on their phone while attempting to login, but on the terminal, they get the following error:
Error::root: SAML lookup failed, storing failure page to 'saml.html' to assist with debugging.
The failure page aka saml.html says "Confirm if it was you/your device or not." with "Yes" or "No"
Does anyone know why Google behaves as such with few selected users?
However, I figured out that this issue can be bypassed by removing Google Account from the phone which disabled Google Prompts and the tool aws-google-auth fallback to secondary 2FA methods like SMS-code or Captcha.
Any help or guidance to fix this on Google or aws-google-auth side is much appreciated.
About this issue
- Original URL
- State: open
- Created 4 years ago
- Reactions: 18
- Comments: 18 (1 by maintainers)
Also facing the same issue since last week and also getting the same debug html screenshot. Already tried to reset my password and change the 2FA method but Google doesn’t allow it.
TEMPORARY SOLUTION EDIT (13.10.2020) I found a solution that worked for me
aws-google-authcommand as usual. It should now ask your for an MFA token from your Authenticator App. Make sure you have enough time left until the code gets invalidated and enter the code.The problem is as soon as you log in on your phone again, 2FA will jump back to phone prompts. Therefore you can’t log back in your phone in your google account.
Cheers!
I just set this up for the first time with version
aws-google-auth 0.0.37and am having the same problems described above.Seems a lot of us having the same issue.
Some of the other troubleshooting steps I did to bypass this:
saml_cachefiles from~/.awsdirectory and start fresh.google.py)Here’s the failure debug html screenshot.
@eechau @filoxo I recommend patching in my pull request above (or just checking out my fork), since it fixed the issue for me. I’m not sure if the author still monitors this repository.
I ran into this same issue, and I think it’s just a minor fixed. Submitted a PR in #227.
I am using ver
0.0.36and facing similar problem with Google prompts. In my case I am getting 2FA Google prompt on my mobile device butaws-google-auththrows error without waiting for the response.Removing Google account from mobile device helped.
aws-google-authis now prompting for the fallback 2FA authentication application.