The socialLoginConfig does not have any effect when the setting is specified. So with a setting mfaLevel: none the UI still asks to set up MFA after 3 logins which is a default behaviour.
const { connect, status } = useConnect({
connector: new Web3AuthConnector({
options: {
uiConfig: {
theme: 'dark',
},
socialLoginConfig: {
mfaLevel: 'none', // <-- this did not apply
},
// ...
}
})
})
How Has This Been Tested?
Built the code and cleaned node_modules cache. Retried over 3 times and MFA setting is working as expected after the change.
Description
The
socialLoginConfig
does not have any effect when the setting is specified. So with a settingmfaLevel: none
the UI still asks to set up MFA after 3 logins which is a default behaviour.How Has This Been Tested?
Built the code and cleaned node_modules cache. Retried over 3 times and MFA setting is working as expected after the change.