Thanks so much @vjgee and @maharshi for your prompt attention. As you can imagine, we’re quite apprehensive about this issue and I appreciate your support.
We’re using a customized version of the @web3auth/web3auth-wagmi-connector
. Below are the configuration parameters for the OpenloginAdapter and Web3AuthNoModal classes:
OpenloginAdapter parameters:
{
"adapterSettings": {
"chainNamespace": "eip155",
"clientId": "...",
"network": "mainnet",
"chainId": "0x89",
"uxMode": "redirect",
"redirectUrl": "http://.../app/web3auth-post-auth",
"replaceUrlOnRedirect": true,
"mfaLevel": "none",
"uiConfig": {
"appLogo": "/img/logo/easy-picnic-logo-green.png",
"appName": "Picnic",
"defaultLanguage": "pt"
},
"whiteLabel": { "defaultLanguage": "pt" },
"sessionTime": 86400
},
"loginSettings": { "mfaLevel": "none" },
"chainConfig": {
"chainNamespace": "eip155",
"chainId": "0x89",
"rpcTarget": "...",
"displayName": "Polygon",
"blockExplorer": "https://polygonscan.com",
"ticker": "MATIC",
"tickerName": "MATIC"
},
"privateKeyProvider": {
// ...
}
}
Web3AuthNoModal parameters
{
"clientId": "...",
"chainConfig": {
"chainNamespace": "eip155",
"chainId": "0x89",
"rpcTarget": "...",
"displayName": "Polygon",
"blockExplorer": "https://polygonscan.com",
"ticker": "MATIC",
"tickerName": "MATIC"
}
}
Regarding mfaMode
, I appreciate the information. My understanding was that this would result in only a single share (social share) being used for authentication. It’s worrisome that some users will depend on their current device to access their accounts. What would the best course of action be in this case?
- Is setting
mfaLevel
to ‘mandatory’ the advisable course of action if our priority is enabling users to regain account access in case they lose their current device?
- We have not explicitly set
mfaSettings
. Does the system default to deviceShareFactor
in this case? Would you recommend changing this default?
Once again we really appreciate your help. Looking forward to your guidance.
Pedro