Please select an SDK-specific category from the dropdown when creating a topic here. Use this category for generic help-related topics. Also, remove these lines when asking for generic Help.
Using single-factor-auth SDK : 8.1.0
Custom Authentication, Verifier is blok-cognito
IDToken is eyJraWQiOiJCQnlBT21ybjFKMUh1ZTlNYWNzRXBHVkZyTTVqZUxxd1NQNGN5eHJDQ3pFPSIsImFsZyI6IlJTMjU2In0.eyJzdWIiOiI1ODQxNTNmMC1jMGMxLTcwYTQtMzI4MS0zZjE2ZjczZjNhNzQiLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLXdlc3QtMi5hbWF6b25hd3MuY29tXC91cy13ZXN0LTJfRkVqbzcyUTJ6IiwiY29nbml0bzp1c2VybmFtZSI6IjU4NDE1M2YwLWMwYzEtNzBhNC0zMjgxLTNmMTZmNzNmM2E3NCIsIm9yaWdpbl9qdGkiOiI5MTljZTM0ZS0xN2FlLTQwNTYtYjY2Mi1lZmEwYWQ3ZDZjNjciLCJhdWQiOiI0bjdhdmtrYm4xaTFkb3Y4NGNmYW9rM3RqZyIsImV2ZW50X2lkIjoiM2RmODA3NDQtNzJjYi00OGU0LTk5OGYtZDdjYzM1NzE4NTBiIiwidG9rZW5fdXNlIjoiaWQiLCJhdXRoX3RpbWUiOjE3MjI4NjAxMjIsIm5hbWUiOiJHb3VyYXYiLCJleHAiOjE3MjI4NjM3MjIsImlhdCI6MTcyMjg2MDEyMiwianRpIjoiYjk2NzNlZDctMGE2My00YzBhLThjNDktNzBhNTkwOTA1MzBiIiwiZW1haWwiOiJtYWlsZ291cmF2QGdtYWlsLmNvbSJ9.Tcyt2O3mC_59Xz1bGJftjwwjrwbFF6v3GA783FS_QfGSnDiMfC9H6-Pm5pMHB1P_cAffC9fLHIpn7YvWYP1yni4zps3NXY8CM0YFjw8h9yLd50yXqcqET_UJ_mSjGp1QbgKLEyD31BWGpATWOeMV8InNOtkrXpYjCy96WHo2jrMEl7X5b7t6AjxvaehrFvFraF5buo7vJ9FW3aBHNTSWhQionh0_uFi8tz_sjY2Gf2f98AaWNO1uFF9e_nr-yy608rVuTtCsvguds4U-a42v3bGKb85g3tO7pcdb6oSG7S_MhE9O5EW_WkQ8S6H8ve3djVtoULsb6yHQV1F42Klz8g
Seeing this error at the connect() function call
import { decodeToken, Web3Auth } from “@web3auth/single-factor-auth”
const { payload } = decodeToken(idToken);
await web3Auth.connect({
verifier : "blok-cognito",
verifierId: (payload as any).email,
idToken: idToken,
});
Please advice on the fix … Thanks