Getting 'Unable to detect login share' error and mfa prompt when disabled

We have an aggregate verifier set up successfully (called grappa-social) with several users logging/signing up every day. We onboarded a user today who had a very hard time logging in:

  1. The user select his social account, and was redirected to cyan.openlogin.com
  2. The screen loaded for more than a minute, afterwards we saw the Unable to detect login share from the Auth Network error on the users device (the one with slow internet connection or vpn being enabled)
  3. After several attempts, we started getting the recovery email flow to get a backup phrase (and we have mfaLevel set to none)
  4. The user got his backup phrase but had trouble logging back in

We are using:

"@web3auth/base": "4.6.0",
"@web3auth/core": "4.6.0",
"@web3auth/metamask-adapter": "5.0.1",
"@web3auth/openlogin-adapter": "5.0.1",

Screenshots:


Our SDK initialization code and login params:

image

Please advise

Hey @shayg

Could you please upgrade to the latest versions of these SDKs and try again? Also, we have renamed @web3auth/core to @web3auth/no-modal.

@shahbaz we’ve updated all packages to the latest version, however we are not able to reproduce this so I can’t tell if this will occur again.

Do you mind providing us with an explanation of what happened:

  1. Are there any other instances where we’ll see the error we saw? Like timeouts in background API calls?
  2. Why did the user see the MFA prompt although we opted out of it?
  3. The specific user who encountered the issuer eventually enabled MFA, can we disable it for this user? Will he see this screen every time he logs in? Will he see it when logging in from a new device?

Our customer base are not the average consumer, we can’t really afford this happening on a regular basis and need to get to the bottom of it every time so your help here will be very appreciated

Hey @shayg

We need to see the error message to confirm what’s causing the issue.

There could be various reasons for this issue. You may find helpful solutions, particularly for JWT errors, at Troubleshooting with Web3Auth | Documentation.

It’s possible that those users had previously enabled MFA when the option was available. It’s likely that it was an option from the start, but perhaps it was later disabled.

Once the MFA is enabled, it can’t be turned off.

No, only when they change the device.

Yes, there they need to enter the backup share.

10x for the help @shahbaz, I elaborated more on Discord but in short:

  • We can’t see the error message, with the redirects it’s not something we can track ourselves and refactored the auth mechanism isn’t realistic for us at all.
  • This is the first deployment of the system and project, that user has never signed in before (to my knowledge at least). We deployed with mfaLevel: 'none' from day one
  • When this error originally happened, it was affecting only that user. So most of the troubleshooting articles pointing to the code/verifier configuration are probably irrelevant

I’ll emphasize again - for the last week we’ve been encountering errors on a daily basis, usually with one or two users signing in for the first time and sessions being reset after a couple of hours (instead of a week like we set it). We need something better than a retroactive investigation, so even a face to face with you guys so we would know how to act better when this happens will be of great help

I will pass this along to the product team. In the meantime, could you please provide me with the client Id for the project? Kindly send me an email with the information at `shahbaz@web3auth.io.

Could you please provide me with the current rate of user signups? It’s important to note that we have a rate limit in place based on the environment. Kindly check What's the limit for new keys creation for different Web3Auth network? for further information.

@shahbaz sure, will do.

The rate fluctuates but don’t pass the 15 daily users at this stage, running on cyan. We will in the future need to support more than 80