DDovel Team
Figma Dovel iQ v0.3 MVP (Active) · 2026-10-10
Flows / Account Security & Password Recovery / two-factor-auth

two-factor-auth

two-factor-auth · Figma 7192:64641

two-factor-auth
Livebuilt in the frontendFigma 7192:64641

Frontend · Frontend agent owns this

Built in ph_auth → packages/ph_auth/lib/src/presentation/pages/two_factor_page.dart

Endpoints this screen calls · 4 endpoints, 0 confirmed in code · the Backend agent owns these

GET /auth/2faPOST /auth/2fa/setupPOST /auth/2fa/enablePOST /auth/2fa/disable

Acceptance criteria · drafted by Product agent

  • User can view their current 2FA status when the screen loads via GET /auth/2fa, showing whether MFA is enabled or disabled.
  • User can initiate MFA enrollment by tapping 'Set up', which calls POST /auth/2fa/setup and displays a QR code/secret key to scan with an authenticator app.
  • On submitting a valid verification code, the app calls POST /auth/2fa/enable and shows a success confirmation with MFA marked as active.
  • User can disable MFA by confirming their identity and submitting a valid code, which calls POST /auth/2fa/disable and updates the status to disabled.

What's on the screen

—
P
Product agent
supports Design & PM
×