Skip to content

docs(mfa): document released MFA and Adaptive MFA behavior - #1578

Merged
wangsijie merged 5 commits into
masterfrom
wangsijie-log-14773-docs-document-released-mfa-behavior-that
Nov 27, 2026
Merged

wangsijie merged 5 commits into
masterfrom
wangsijie-log-14773-docs-document-released-mfa-behavior-that

Conversation

@wangsijie

Copy link
Copy Markdown
Contributor

Summary

Document released MFA, Adaptive MFA, webhook, audit log, custom JWT, and account-setting behavior in logto-io/logto that was missing from documentation (LOG-14773).

Stacked on #1577 (LOG-14772).

  • Add Adaptive MFA guide (docs/end-user-flows/mfa/adaptive-mfa.mdx) covering built-in risk rules (new_country, geo_velocity, long_inactivity, untrusted_ip), edge header prerequisites (x-logto-cf-*, INJECTED_HEADER_MAPPING_JSON), trusted-device/passkey/binding interactions, and PostSignInAdaptiveMfaTriggered webhook (developers/webhooks/events.mdx, developers/webhooks/request.mdx), plus links from mfa/README.mdx and configure-mfa.mdx
  • Document per-user Require MFA setup (mfa.required) in Console and Management API (noting it is read-only for Account API), Adaptive MFA's interaction with per-user and organization isMfaRequired policies, and Suggest adding another MFA factor (mfa.skipAdditionalBindingSuggestion and mfa.additionalBindingSuggestionSkipped reset via PATCH /api/my-account/logto-configs) (configure-mfa.mdx, user-management/manage-users.mdx, organizations/organization-management.mdx)
  • Document implicit email/SMS MFA behavior (primary email/phone auto-enrollment and exclusion from mfa-verifications and user.mfaVerificationFactors) (email-mfa.mdx, sms-mfa.mdx, user-management/user-data.mdx, developers/actions/post-sign-in.mdx)
  • Document automatic backup-code re-prompting when codes are exhausted or enabled after enrollment, the verified-factor requirement for binding factors during sign-in, and Enterprise SSO / Forgot password MFA exemptions (backup-codes.mdx, configure-mfa.mdx)
  • Add missing audit log keys (BindMfa, SignInPasskey, PhoneVerificationCode, MfaEmailVerificationCode, MfaPhoneVerificationCode), Custom JWT verification record schemas (SignInPasskey, MfaEmailVerificationCode, MfaPhoneVerificationCode), Management API logto-configs & trusted-devices endpoints, and Account Center /account/backup-codes/regenerate route (developers/audit-logs/event-types.mdx, developers/custom-token-claims/create-script.mdx, by-management-api.mdx, by-account-center-ui.mdx)

Testing

Tested locally

Checklist

  • .changeset
  • unit tests
  • integration tests
  • necessary TSDoc comments

Align MFA, Account API, audit log, and organization docs with current

released behavior in logto-io/logto (LOG-14771).
Refresh Account API, MFA policy labels, Console user MFA management,
passkey naming, send rate-limit errors, backup code guidance, and
security overview to reflect released behavior (LOG-14772).
@cloudflare-workers-and-pages

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

Copy link
Copy Markdown

Deploying logto-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1471645
Status: ✅  Deploy successful!
Preview URL: https://c8d142bf.logto-docs.pages.dev
Branch Preview URL: https://wangsijie-log-14773-docs-doc.logto-docs.pages.dev

View logs

@cloudflare-workers-and-pages

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

Copy link
Copy Markdown

Deploying logto-docs-tutorials with  Cloudflare Pages  Cloudflare Pages

Latest commit: f4efbc1
Status: ✅  Deploy successful!
Preview URL: https://5316fdf6.logto-docs-tutorials.pages.dev
Branch Preview URL: https://wangsijie-log-14773-docs-doc.logto-docs-tutorials.pages.dev

View logs

- Document Adaptive MFA rules, edge headers, webhook, and policy interactions
- Document per-user mfa.required, additional factor suggestion, and implicit email/SMS
- Update audit log keys, JWT verification records, Management API, and Account Center routes
@wangsijie
wangsijie force-pushed the wangsijie-log-14773-docs-document-released-mfa-behavior-that branch from eb0c5ee to ba7e80c Compare November 24, 2026 11:53
Comment thread docs/end-user-flows/mfa/README.mdx Resolved
Base automatically changed from wangsijie-log-14772-docs-update-stale-mfa-statements to master November 25, 2026 09:56
@wangsijie
wangsijie merged commit 09d9c40 into master Nov 27, 2026
19 checks passed
@wangsijie
wangsijie deleted the wangsijie-log-14773-docs-document-released-mfa-behavior-that branch November 27, 2026 10:14
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