Skip to content

docs: describe email and SMS MFA enrollment modes - #1573

Merged
wangsijie merged 5 commits into
masterfrom
wangsijie-log-14725-docs-email-and-sms-mfa-enrollment-modes
Nov 27, 2026
Merged

wangsijie merged 5 commits into
masterfrom
wangsijie-log-14725-docs-email-and-sms-mfa-enrollment-modes

Conversation

@wangsijie

@wangsijie wangsijie commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Document the Email/SMS 2-step verification setting on the Multi-factor auth page, and how email and SMS MFA work in each mode.

  • Configure MFA: a new "Email and SMS MFA enrollment" section covers the two modes (every user with a verified email or phone number vs. only users who set it up), the default for new and existing tenants, why the stored setup survives an address change, and what switching modes does to users. The set-up flow and Console user details mention the mode too.
  • Email MFA and SMS MFA: a new "Who has email/SMS MFA" section, and the sign-up identifier and existing-user setup flows now depend on the mode.
  • Account API: a new "Manage email and SMS MFA" section that sets up and removes these factors, and a note that they don't satisfy the backup code companion rule.
  • Management API: adding and removing email or SMS MFA for a user, including before switching modes.
  • User data: mfaVerificationFactors lists EmailVerificationCode and PhoneVerificationCode only for users who set them up, so a missing value doesn't mean the user has no email or SMS MFA.

Implements LOG-14725.

Document the Email/SMS 2-step verification setting: which users have email
or SMS MFA in each mode, the default for new tenants, and what switching
modes does. Update the email and SMS MFA setup flows, add enrolling and
removing these factors through the Account API and Management API, and list
the new values of mfaVerificationFactors.

Amp-Thread-ID: https://ampcode.com/threads/T-01a1fcf6-21e0-75be-add8-678a76e6d047
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Deploying logto-docs-tutorials with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8effce7
Status: ✅  Deploy successful!
Preview URL: https://da975559.logto-docs-tutorials.pages.dev
Branch Preview URL: https://wangsijie-log-14725-docs-ema.logto-docs-tutorials.pages.dev

View logs

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Deploying logto-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8effce7
Status: ✅  Deploy successful!
Preview URL: https://6ed93cc1.logto-docs.pages.dev
Branch Preview URL: https://wangsijie-log-14725-docs-ema.logto-docs.pages.dev

View logs

@wangsijie
wangsijie marked this pull request as ready for review November 24, 2026 07:38
@wangsijie
wangsijie merged commit 65a72d9 into master Nov 27, 2026
19 checks passed
@wangsijie
wangsijie deleted the wangsijie-log-14725-docs-email-and-sms-mfa-enrollment-modes branch November 27, 2026 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants