question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problems with Google Prompts

See original GitHub issue

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.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:18
  • Comments:18 (1 by maintainers)

github_iconTop GitHub Comments

21reactions
tomcolaacommented, Oct 13, 2020

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

  1. Go to your Google Account > Security > Devices
  2. Log out from your phone (Remove Phone)
  3. Go to Security > 2FA and set up 2FA with the Authenticator App
  4. Open a Chrome Incognito Window -> Sign In with your Google Account using the 2FA Authenticator App and check the box remember this PC
  5. Go back to VSCode and run your aws-google-auth command 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!

2reactions
unstoppablecarlcommented, Feb 12, 2021

I just set this up for the first time with version aws-google-auth 0.0.37 and am having the same problems described above.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sign in with Google prompts - iPhone & iPad
Important: To get prompts, make sure your phone is connected to the internet. You need Wi-Fi or cellular data turned on to get...
Read more >
google prompt not working - Samsung Community
I changed the password on my main google account as my old phone was lost, now im locked out My samsung S21 (few...
Read more >
2FA Google Phone Prompt not working? - XDA Forums
I was having the same issue after wiping and rooting, and managed to fix it by doing the following: 1. (From your computer)...
Read more >
Google prompt not showing up - Apple Community
Google prompt not showing up · 1. Back up your device using iCloud or your computer. · 2. Plug your device into power...
Read more >
No longer receiving two-factor prompts on my device ...
I've been able to fix it by uninstalling the latest version of Google Play Services. Doing so made the phone revert to the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found