Enforce two-factor authentication
Two-factor authentication (2FA) protects accounts with a time-based code from an authenticator app on top of the password. Anyone can enable it for themselves, and Owners and Admins can make it mandatory for the whole organization.
Set up 2FA for yourself
Section titled “Set up 2FA for yourself”-
Open Settings and go to the Security tab.
-
In the Two-Factor Authentication section, start the setup and scan the QR code with your authenticator app (Google Authenticator, Authy, 1Password, or any TOTP app).
-
Enter the six-digit code from the app to confirm.
-
Save your backup codes somewhere safe. They are shown once, and each is a single-use replacement for a code if you lose your authenticator.
From then on, sign-in asks for a code from your app after your password.
Enforce 2FA for the whole organization
Section titled “Enforce 2FA for the whole organization”-
Open Organization Settings and go to the Security & Compliance tab (Owner and Admin only).
-
On the Controls sub-tab, find Enforce 2FA for All Members and switch it on. If some members have not enabled 2FA yet, Onplana warns you and lists them before you confirm.
What happens to members without 2FA
Section titled “What happens to members without 2FA”Enforcement takes effect immediately. Members who have not enabled 2FA are blocked from the organization’s content: they can still sign in and reach their personal Settings → Security page to enroll, but every attempt to open organization data shows a clear message that 2FA is required. The Controls panel lists who is currently blocked, and the Access Review sub-tab shows per-member 2FA status at any time.
Organizations using SSO
Section titled “Organizations using SSO”If your team signs in through single sign-on and your identity provider already performs MFA, those sessions satisfy the requirement by default. The Trust IdP MFA for SSO sessions option below the enforcement toggle controls this; switch it off if you want everyone to enroll an Onplana authenticator code regardless. See Configure single sign-on.
Best practices
Section titled “Best practices”- Announce enforcement 2 weeks ahead. Don’t surprise the team. A heads-up email + grace period prevents lockouts.
- Onboarding includes 2FA setup. New hires set up 2FA on day 1. Avoids “I can’t sign in” calls later.
- Backup codes go in a password manager. Each member’s backup codes belong in their personal password manager. Printed-and-lost is the common case.
- Document the lost-authenticator path. Admin reset via Access Review + support-fallback for multi-org users. New admins shouldn’t have to discover this under pressure.
- Trust IdP MFA for SSO orgs. If your IdP enforces MFA, “Trust IdP MFA” avoids double-MFA friction. Otherwise require Onplana TOTP regardless.
Troubleshooting / common pitfalls
Section titled “Troubleshooting / common pitfalls”- Member can’t sign in after enforcement. Three causes: (a) they haven’t enrolled; (b) authenticator lost; (c) backup codes exhausted. Admin resets via Access Review.
- 2FA code rejected with correct value. Two causes: (a) authenticator’s clock drifted (use NTP sync); (b) old code (codes expire in 30 seconds).
- Enforcement on, but a member still sees data without 2FA. Sessions active before enforcement persist until next sign-in. Use Logout All Devices.
- Trust IdP MFA on, but Onplana still asks for code. SSO claim missing or malformed. Verify IdP sends MFA claim.
- Access Review shows stale data. Refresh; updates on every sign-in cycle.
How this combines with other features
Section titled “How this combines with other features”- 2FA + SSO. SSO can enforce MFA; Onplana trusts that or enforces its own. See Configure single sign-on.
- 2FA + Session management. Logout All Devices clears stale pre-2FA sessions. See Manage sessions and devices.
- 2FA + Audit log. 2FA enable/disable
- admin resets write to audit log.
- 2FA + API tokens. Tokens bypass 2FA; they have separate scopes/expiry. See Create API tokens.
Coming from another tool
Section titled “Coming from another tool”| Tool | Mapping |
|---|---|
| Google Workspace 2FA | Direct concept |
| Microsoft 365 MFA | Direct |
| Okta MFA | Direct |
| Duo Security | Direct |
| Authy / Google Authenticator | Standard TOTP |
A member lost their authenticator. Now what? Backup codes are the first resort. If those are gone too, an Owner or Admin can reset the member’s 2FA from the Access Review sub-tab so they can re-enroll. If the person belongs to several Onplana organizations, the reset must go through support instead.
Does enforcement block API tokens and agents? No. Requests authenticated with personal access tokens are not subject to the 2FA gate; tokens have their own scopes, expiry, and revocation. See Create API tokens.
Can I see who has 2FA before enforcing? Yes. The Access Review sub-tab lists every member with their 2FA status, so you can chase stragglers before turning enforcement on.
Can I enforce hardware keys (FIDO2/WebAuthn)? Not today — TOTP only. Hardware key support on roadmap.
Does 2FA enforcement extend to agents? No — agents authenticate via PATs, not user sessions. Agents not affected by 2FA.
Can I skip 2FA for specific users (executives, etc.)? Not natively — enforcement is org-wide. Don’t skip; defeats the purpose.
Related
Section titled “Related”- Manage sessions and devices — clear stale pre-2FA sessions
- Configure single sign-on — IdP MFA delegation
- Create API tokens — token-based auth bypass
Was this helpful?
Thanks for your feedback!