Creates and verifies a challenge for a factor.
Phone
factor type.createChallengeAndVerify()
.mfa.createChallenge()
and mfa.verifyChallenge()
in a single step.The id of the MFA factor to verify.
The code used to verify.
Whether to save the session. Defaults to true.
supabase.auth.mfa.createChallengeAndVerify(
factorId = "34e770dd-9ff9-416c-87fa-43b31d7ef225",
code = "123456",
saveSession = true // this is set to true by default, but you can set it to false if you want to handle the session yourself
)