I used open login redirection to signup users, and I am now using @web3auth/single-factor-auth. I have an address that is different while the verifier is the same.
Please provide the following details too when asking for help in this category:
Please use the latest version of the SDK. v5.1.1 and use useCoreKitKey: true in Core or usePnPKey: true in SFA to get the same key when using these two SDKs.
For PnP No-Modal SDK:
const web3auth = new Web3AuthNoModal({
clientId: "", // Get your Client ID from Web3Auth Dashboard
chainConfig: {
chainNamespace: CHAIN_NAMESPACES.EIP155,
chainId: "0x1",
rpcTarget: "https://rpc.ankr.com/eth", // This is the mainnet RPC we have added, please pass on your own endpoint while creating an app
},
web3AuthNetwork: "mainnet", // mainnet, aqua, celeste, cyan or testnet
useCoreKitKey: true
});
For SFA/Node.js SDK:
const web3auth = new Web3Auth({
clientId: "", // Get your Client ID from Web3Auth Dashboard
chainConfig: {
chainNamespace: "eip155",
chainId: "0x1",
rpcTarget: "https://rpc.ankr.com/eth", // needed for non-other chains
},
// Available networks are "testnet", "mainnet", "cyan", "aqua", and "celeste".
web3AuthNetwork: "cyan",
usePnPKey: "false", // By default, this SDK returns CoreKitKey
});