I have enabled MFA and set some factors to not mandatory. In this case, getUserInfo only returns isMfaEnabled as true or false. Can I find out information like factorA is enabled but factorB is not?
Also, if isMfaEnabled is false, are there any sample codes available for performing MFA proccess from the frontend?
const openloginAdapter = new OpenloginAdapter({
privateKeyProvider,
loginSettings: {
mfaLevel: "default",
},
adapterSettings: {
mfaSettings: {
socialBackupFactor: {
enable: true,
priority: 1,
mandatory: true,
},
deviceShareFactor: {
enable: true,
priority: 2,
mandatory: false,
},
backUpShareFactor: {
enable: true,
priority: 3,
mandatory: false,
},
passwordFactor: {
enable: true,
priority: 4,
mandatory: false,
},
},
},
});