← back to reference index ·← platform sign-in
STATUS: interactive demo — behavior shown here is the intended contract (nothing is saved)

SchedHubPH Platform · two-factor setup

Scan this with your authenticator app

Google Authenticator, 1Password, Authy or similar. Two-factor is required for every platform admin.

Can't scan? Enter JBSW Y3DP EHPK 3PXP

Lost your authenticator and your codes? Only another super_admin can reset your two-factor. The reset is logged.

Implementation notes for Cursor

Entities: PlatformAdmin (totp_secret_enc, totp_enabled_at, recovery_codes_hash[]) (§17, D62).

Key states: First sign-in: QR + manual key, confirm a code, show 10 recovery codes once, require the saved confirmation; a recovery-code sign-in burns the code and prompts for new codes at 3 or fewer; super_admin-only reset logged as platform_admin.2fa_reset.

Forbidden inventions: No SMS or email codes for platform admins. No way to skip enrolment.

Governs: §17 (D62), SECURITY.md §1.3.