Could not get result from torus nodes Duplicate token found - Duplicate Token

Could not get result from torus nodes Duplicate token found

“Could not get result from torus nodes Duplicate token found” error is thrown when the JWT is sent twice in the same request.

await web3auth.connectTo(WALLET_ADAPTERS.OPENLOGIN, {
  loginProvider: "jwt",
  extraLoginOptions: {
    id_token: "ID_TOKEN", // <-- JWT should be unique for each request.
    verifierIdField: "sub",
  },
});