Substratal Apps Substratal Apps Hub Interface Specifications
GitHub

Help Screens Account & security

Turn on two-factor ACC-05

Turn on two-step verification with a passkey (recommended) or an authenticator app (TOTP), and save recovery codes.

Who can use itSelf
Where it is/account/security/2fa/enable · link: https://hub.substratalapps.com/account/security/2fa/enable or substratal://account/security/2fa/enable
Available onWeb (PWA), iOS / iPadOS, Android, Windows, Linux (GNOME), macOS
PhaseMVP

What you can do here

  • Start — 409 → already enabled; close. 403 recent_sign_in_required (a first method needs a password sign-in in the last 10 minutes) → "Sign in again to turn on two-step verification." → AUTH-01, then back here. Adding a second method needs step-up instead
  • Confirm — 200 → step 3. 401 → wrong code.

On your platform

AppStatusHow it's built
Web (PWA)—Dialog/sheet with step indicator; each step a URL hash
iOS / iPadOS—Sheet with NavigationStack push per step
AndroidPlannedFull-screen dialog with steps
Windows—ContentDialog steps or page with BreadcrumbBar
Linux (GNOME)—AdwDialog with AdwNavigationView pages
macOS—Sheet with paged steps + Back/Continue

Status is reported by each app's repository; — means that app doesn't report it yet.

For developers: API calls

MethodPathWhat it does
POST/users/{id}/mfa/totpBegin TOTP enrollment (self only)
POST/users/{id}/mfa/totp/confirmConfirm TOTP enrollment with a first code; returns recovery codes once
POST/users/{id}/mfa/passkeys/registration-optionsOptions to register a new passkey (self)
POST/users/{id}/mfa/passkeysRegister a passkey (self)

Every call sends Substratal-Version: 1. Paths are at the host root, with no /v1.

Full screen specification

Last updated 2026-11-23 · Built 2026-11-24 from 5941f4c · API 1.0.0-draft.36 · Substratal-Version: 1