feature request: Allow Email/Phone MFA factors without auto-binding during registration
Author: pejoldCreated Mar 24, 2026Updated Sep 30, 2026
What problem did you meet?
When EmailVerificationCode or PhoneVerificationCode is added to mfa.factors in Sign-In Experience, any email/phone verified during registration is automatically bound as an MFA factor. There is no way to separate "making the MFA method available" from "enrolling a user in that MFA method."
Our use case:
- Sign-up requires
username(primary) +emailandphone(secondary identifiers, both verified) - We want to offer Totp, WebAuthn, BackupCode, and Email/Phone as MFA options
- MFA policy is
NoPrompt— users should opt in voluntarily via Account Center - Problem: Adding
EmailVerificationCode/PhoneVerificationCodeto factors causes all newly registered users to have email/phone MFA auto-bound, effectively making MFA mandatory for everyone
Describe what you'd like Logto to have
A per-factor configuration option to control whether verified identifiers are automatically bound as MFA factors during registration.
For example:
{
"mfa": {
"policy": "NoPrompt",
"factors": [
{ "type": "Totp" },
{ "type": "WebAuthn" },
{ "type": "BackupCode" },
{ "type": "EmailVerificationCode", "autoBinding": false },
{ "type": "PhoneVerificationCode", "autoBinding": false }
]
}
}Or alternatively, a global flag:
{
"mfa": {
"policy": "NoPrompt",
"factors": ["Totp", "WebAuthn", "BackupCode", "EmailVerificationCode", "PhoneVerificationCode"],
"autoBindVerifiedIdentifiers": false
}
}Expected behavior with autoBinding: false:
- Email/Phone are verified during registration (as sign-up identifiers) — works as before
- Email/Phone MFA factors are not automatically bound — users have no MFA after registration
- Users can later go to Account Center and voluntarily add Email or Phone as their MFA method
- The Account API (
POST /api/my-account/mfa-verifications) handles the opt-in enrollment
Additional context
- Logto version: 1.37.1 (OSS, self-hosted)
- Related: GIT-343 (Email OTP MFA feature)
- The current auto-binding behavior is documented in Email MFA docs as intentional for UX optimization, but it prevents the "opt-in MFA" pattern that many B2B SaaS products require
Source: logto-io/logto