totp
is the only supported factor_type
. The returned id
should be used to create a challenge.mfa.challenge()
.mfa.verify()
.mfa.challenge_and_verify()
.response = supabase.auth.mfa.enroll(
\{
"factor_type": "totp",
"friendly_name": "your_friendly_name",
\}
)