idToken is undefined for certain emails

Please provide the following details too when asking for help in this category:

  • @web3auth/modal@6.1.1
  • Web - Nextjs:

const user = await web3auth.getUserInfo(); not getting idToken for certain emails. But for most of the emails, it get the idToken parameter. This issue didn’t even occur a week ago. The email that is facing this issue received the idToken even 2-3 days ago. How do I fix this?

Web3Auth initialization and login code snippet below:

      clientId: "BCNEb4vQCl8rrcqFpZDr3WcS5Hz2EMtRIMw8pEax3GzC1OAYqWSzqpq8-UaTGbZczgBQJ2z4WNWSMuwR5pBz4uY",
      chainConfig: {
        chainNamespace: "eip155",
        blockExplorer: "https://goerli.etherscan.io",
        chainId: "0x5",
      },
      web3AuthNetwork: "mainnet",
    });

    await web3auth.initModal({
      modalConfig: {
        openlogin: {
          label: "openlogin",
          loginMethods: {
            facebook: {
              name: "facebook",
              showOnModal: false,
            },
            reddit: {
              name: "reddit",
              showOnModal: false,
            },
            discord: {
              name: "discord",
              showOnModal: false,
            },
            email_passwordless: {
              name: "email_passwordless",
              showOnModal: true,
            },
            wechat: {
              name: "wechat",
              showOnModal: false,
            },
            weibo: {
              name: "weibo",
              showOnModal: false,
            },
            twitter: {
              name: "twitter",
              showOnModal: false,
            },
            kakao: {
              name: "kakao",
              showOnModal: false,
            },
            line: {
              name: "line",
              showOnModal: false,
            },
            twitch: {
              name: "twitch",
              showOnModal: false,
            },
            apple: {
              name: "apple",
              showOnModal: false,
            },
            github: {
              name: "github",
              showOnModal: false,
            },
            linkedin: {
              name: "linkedin",
              showOnModal: false,
            },
            external_wallet: {
              name: "external_wallet",
              showOnModal: false,
            },
            sms_passwordless: {
              name: "sms_passwordless",
              showOnModal: false,
            },
          },
        },
      },
    });
    console.log(web3auth.connected, " auto 2 connected");
    if (!web3auth.connected) await web3auth.connect();
    const user = await web3auth.getUserInfo();

    const isEmpty = Object.keys(user).length === 0;
    console.log(user, " user", isEmpty);```
1 Like

@community2 Welcome Aboard!

Your issue has been forwarded to our team and we will get back to you with further updates once more information becomes available.

1 Like

@vjgee hey, I haven’t been able to resolve the issue myself. Please recommend me a solution as soon as possible.

Our team are aware and will get back with an update tomorrow.

@vjgee, Hey, any updates? As the app owner, I am in a bit of a difficult position.

1 Like

Our Dev team are working on priority for a fix and you will receive further updates.

@vjgee, hey man! Any Updates?

@vjgee, it doesn’t even let me signin to the frontend, instead display thia message -
“Unable to detect login share from the Auth Network. This may be due to slow internet connection. Check your internet speed and try again. If you’re using a vpn, please turn it off.”
When will you be done fixing these buga?

@community2 Sorry for the delay.

Our team updated that you can upgrade to the latest version 6.1.8 and it should resolve.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.