CustomAuth stopped working with "retrieveVerifierToKeyIndex keyIndexes do not exist for verifier, and verifierID"

Hi Team,

We’re using web3auth to create web3 wallets in the browser. Today, the integration stopped working.

I can see the following json-rpc error in logs:
code: -32602
data: “Verifier + VerifierID has not yet been assigned could not retrieveVerifierToKeyIndex error: retrieveVerifierToKeyIndex keyIndexes do not exist for verifier, and verifierID”
message: “Input Error”.

Please advise what this error is about.

  • SDK Version: “@toruslabs/torus-direct-web-sdk”: “^4.15.1”
  • Verifier Details:
    • Verifier Name: smarty-pay-v1-prod-auth0
    • JWKS Endpoint:
    • Sample idToken(JWT)

@v.lukoyanov Thanks for reporting the issue.

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

Please update your CustomAuth and Fetch Node Details packages to the latest version of the SDKs

The torus direct web SDK has been deprecated for quite a while now. Please make sure to update to @toruslabs/customauth in place of that.

This will be a quick shift integration for fixing your current issues. In the long term, we recommend you to use the @web3auth/single-factor-auth SDK

Thank you @yashovardhan!

We managed to get almost everything working again with ‘toruslabs/customauth’. We will plan to upgrade to ‘web3auth/sfa’ in the near future.

The problem we couldn’t fix with the new package is related to the case when the identity provider window (Google) is closed without actual authentication being performed by the user.

We added an issue in GitHub, please kindly take a look: