Error occurred while verifying params verifier teal-prayers-testnet-firebase-verifier not found

When asking for help in this category, please make sure to provide the following details:

  • SDK Version: ^7.2.2
  • Platform:
  • Browser Console Screenshots:
  • If the issue is related to Custom Authentication, please include the following information (optional):
    • Verifier Name: prayers-testnet-firebase-verifier
    • JWKS Endpoint: https://www.googleapis.com/service_accounts/v1/jwk/firebase-adminsdk-jhe8q@prayers-5cd09.iam.gserviceaccount.com
    • Sample idToken (JWT): eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJodHRwczovL2lkZW50aXR5dG9vbGtpdC5nb29nbGVhcGlzLmNvbS9nb29nbGUuaWRlbnRpdHkuaWRlbnRpdHl0b29sa2l0LnYxLklkZW50aXR5VG9vbGtpdCIsImlhdCI6MTcwNTk4NzI3NiwiZXhwIjoxNzA1OTkwODc2LCJpc3MiOiJmaXJlYmFzZS1hZG1pbnNkay1qaGU4cUBwcmF5ZXJzLTVjZDA5LmlhbS5nc2VydmljZWFjY291bnQuY29tIiwic3ViIjoiZmlyZWJhc2UtYWRtaW5zZGstamhlOHFAcHJheWVycy01Y2QwOS5pYW0uZ3NlcnZpY2VhY2NvdW50LmNvbSIsInVpZCI6IjUxODMxMDg5NzMifQ.BLoPPp9czZgjrQVjx3eGJkIvpkw9waHWmrIDyyKX1NZnoRyZRgjCAiKYBr6g9fqL7d_x35eIBz80Nf3q2EM6gOx9wHwGdKV2EWsSL9wHOXNIJWjJbF0F1weg9NEFwFSAT84GAlvYTqxYsh7jzyK6gOJqI6rIJlkGrP6Zg6QkDWiYOfukDNHLc-fsyUot2jMiL859PuoQqt46rnSmhmXrCSuCyjUT241i0bLo4AdLNlSrUuJub7ENpICBryzTIqs90zCvlDwfaGvbMgvaq9evJox3aSfhh_WPPTviIpAVYscWRPJVZmlZkfk5foMB2f0F2_o_ngsHMYragFRtsgvUdw

Also, kindly provide the Web3Auth initialization and login code snippet below. This will help us better understand your issue and provide you with the necessary assistance.

const token = await firebase
        .auth()
        .createCustomToken(userId);

      console.log("verifier", config.WEB3AUTH_VERIFIER);
      const provider = await web3auth.connect({
        verifier: config.WEB3AUTH_VERIFIER,
        verifierId: userId,
        idToken: token,
      });

      if (!provider)
        throw new TRPCError({
          code: "INTERNAL_SERVER_ERROR",
        });

      const privateKey = await provider.request({
        method: "eth_private_key",
      });

This is the full error message:
Error occurred while verifying params verifier teal-prayers-testnet-firebase-verifier not found for account id: 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY

It seems like the verifier I am passing is somehow modified to teal-prayers-testnet-firebase-verifier. Instead of it should be prayers-testnet-firebase-verifier. Do you know where teal prefix is coming from @shahbaz?

Hi @ninja,

That’s just an internal name.

Also, I have a couple of questions for you. First, I would like to confirm whether the userId is the same as the UID field in the JWT Payload data. Additionally, I noticed that the JWT sample you shared does not have a kid field in the header. Could you please explain why that is?

Thanks!

Also, which SDK of Firebase is this?

fixed my issue.

the problem was I was passing testnet as a network instead of sapphire_devnet.

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