Enable your factor#
Open Profile and notifications → Two-step verification, confirm your login password and choose Configurar autenticador. IdP-only accounts confirm access through their identity provider. Scan the QR in a TOTP authenticator or copy the seed and confirm a six-digit code. Enrollment becomes active only after confirmation; an authorized E2EE device signs the enrollment request.
Save the ten recovery codes shown after confirmation. Each is single-use and displayed only when generated. Confirm that you saved them before completing setup. These codes are different from your encrypted-backup password and cannot recover messages. Replacing the authenticator or regenerating recovery codes invalidates previous codes and remembered MFA trust. Enabling the factor also revokes other login sessions.
TOTP uses six digits, thirty-second periods and one adjacent period of clock tolerance; accepted codes cannot be replayed. See RFC 6238. Recovery codes are random and stored only as hashes. Authenticator seeds are encrypted with the installation operational key, which must be backed up with the database. It does not decrypt E2EE conversations.
Sign in#
After your password or corporate authentication, enter an authenticator code or unused recovery code. The server does not issue a complete session until this challenge succeeds. Invalid codes can be retried in the same dialog. Challenges expire after five minutes; five failed attempts within a five-minute window temporarily block factor verification. Using an IdP does not automatically substitute its MFA evidence for native Sintonia TOTP.
Remember this device#
Select Lembrar este dispositivo por 60 dias when confirming 2FA; the displayed number follows effective policy. Trust is minted only after E2EE device approval and a signed proof bound to the session. If device approval takes too long, the login continues with an explanation that trust could not be saved; confirm a fresh factor in settings to retry.
Passwords or IdP authentication remain necessary on future logins. The client presents a random device credential and the server validates primary authentication, expiry, policy, account and device before skipping the code. Client secure storage scopes it by server/account; the database stores only its hash. It contains no conversation keys and does not approve another device for E2EE history.
Use does not renew expiry. Authorized-device login sessions have a renewable 30-day window and a 90-day total limit, additionally capped by remembered trust when used. Remembered login does not count as recent factor verification for sensitive changes.
Settings list remembered devices with an Esquecer action that revokes trust and sessions issued with it. Device unlinking, email password recovery, restart without history, authenticator replacement and recovery-code regeneration invalidate relevant trust. Signing out ends that session while preserving explicitly remembered trust until expiry or revocation.
Administrative policy#
Open Administração → Segurança e 2FA. Installation administrators set the global limit and workspace administrators may impose stricter limits. Default: 60 days. Accepted range: 0–365; zero disables remembered trust and requires a factor on every new login. The smallest installation/workspace limit applies. Reductions affect existing trust; increases never extend credentials already issued.
Administrators can require enrollment, after enabling their own factor first. Unenrolled people complete email/device confirmation and authenticator setup before collaboration access. The server blocks message reads/writes and operations outside bootstrap until enrollment is complete. Minimal account, email, device and recovery APIs remain available to finish setup. Updating the software does not automatically enable organizational policies.
API#
All routes use /api. Security/policy routes require Bearer authentication. Both login completion routes require a challenge issued after primary authentication.
| Method | Route | Purpose |
|---|---|---|
| POST | /auth/mfa | Complete login using challenge and code, including recovery codes. |
| POST | /auth/mfa/remembered | Complete login using challenge and rememberedToken. |
| GET | /security/mfa | Factor status, requirement, effective days and remaining code count. |
| POST | /security/mfa/challenge | Bind a proof challenge to the current session and approved device. |
| POST | /security/mfa/setup | Prepare enrollment using access confirmation and signed proof. |
| POST | /security/mfa/confirm | Confirm TOTP and issue ten recovery codes. |
| POST | /security/mfa/verify | Fresh factor verification for sensitive changes. |
| POST | /security/mfa/recovery-codes | Replace recovery codes with recent access confirmation. |
| POST | /security/mfa/disable | Disable the factor if policy permits. |
| POST | /security/mfa/remember | Mint trust with a signed proof and recent factor. |
| GET | /security/mfa/remembered-devices | List your trust records without tokens. |
| DELETE | /security/mfa/remembered-devices/{id} | Revoke your own trust record. |
| GET/PUT | /admin/mfa-policy | Global required/rememberedDays policy; access confirmation for PUT. |
| GET/PUT | /workspaces/{id}/mfa-policy | Workspace policy with the same confirmation rules. |
Enrollment signatures use sintonia-mfa-enroll-v1; trust signatures use sintonia-mfa-remember-v1. Both bind user, device and challenge. A raw trust credential is returned only at issuance and must never appear in logs, URLs or public exports. Setup/trust responses use Cache-Control no-store.