Error occurred while verifying params could not verify identity - Invalid JWT Verifiers ID field

Error occurred while verifying params could not verify identity

“Error occurred while verifying params could not verify identity” error could be because the verifierIdField of extraLoginOptions is different from the one you have set up during the creation of Verifiers (JWT Verifiers ID ) on the Web3Auth dashboard.

  • This is the JWT Verifiers ID field on the Verifier Modal of the Web3Auth dashboard.

  • Make sure this matches your code.

    import { WALLET_ADAPTERS, CHAIN_NAMESPACES } from "@web3auth/base";
    
    await web3auth.connectTo(WALLET_ADAPTERS.OPENLOGIN, {
      loginProvider: "jwt",
      extraLoginOptions: {
        domain: "YOUR-AUTH0-DOMAIN",
        verifierIdField: "sub", // <-- This is the JWT Verifiers ID field.
        response_type: "token",
        scope: "email profile openid",
      },
    });