Enroll a factor
Starts the enrollment process for a new Multi-Factor Authentication (MFA) factor. This method creates a new
To verify a factor, present the QR code or secret to the user and ask them to add it to their authenticator app.
The user has to enter the code from their authenticator app to verify it.
final res = await supabase.auth.mfa.enroll(factorType: FactorType.totp); final qrCodeUrl = res.totp.qrCode;