Metamask login fails

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

Please provide the Web3Auth initialization and login code snippet below:

  • initialization
    const web3auth = new Web3AuthNoModal({
      clientId: config.web3AuthClientId,
      chainConfig: {
        "chainNamespace": "eip155",
        "chainId": "0x13881",
        "rpcTarget": "https://rpc.ankr.com/polygon_mumbai",
        "displayName": "Polygon Mumbai Testnet",
        "blockExplorer": "https://mumbai.polygonscan.com",
        "ticker": "MATIC",
        "tickerName": "Polygon",
        "decimals": 18
      },
      sessionTime: 86400 * 7,
    });
    const metamaskAdapter = new MetamaskAdapter();
    web3auth.configureAdapter(metamaskAdapter);
    await web3auth.init();
  • login
    await web3auth.connectTo(WALLET_ADAPTERS.METAMASK);

this looks like a bug thanks for reporting we will check and get back to you.

1 Like

Fixed this and released in 5.0.2
Thanks for reporting