When asking for help in this category, please make sure to provide the following details:
- SDK Version: 7.1.1
- Platform: iPhone
- Browser Console Screenshots:
→ I am logging in as Custom Authentication using Firebase IdToken, and the basic login works, but sometimes I get a login failure error. What could be the problem?
Config code:
adapterSettings: {
clientId: clientId,
network: "sapphire_mainnet",
uxMode: "redirect",
redirectUrl: "http://localhost:8080/register",
no3PC: true,
loginConfig: {
jwt: {
verifier: "out verifier name",
typeOfLogin: "jwt",
clientId: clientId,
},
},
},
Login code:
const web3authProvider = await web3auth.connectTo('openlogin', {
loginProvider: "jwt",
extraLoginOptions: {
id_token: idToken,
verifierIdField: "sub",
domain: "http://localhost:8080/register",
},
})