How OpenProject two-factor authentication works with TOTP and WebAuthn
OpenProject supports two kinds of second factor: TOTP authenticator apps and WebAuthn security keys and passkeys. WebAuthn is enabled by default once two-factor authentication is switched on, so an administrator who turns on 2FA gets both methods without extra configuration. The work is therefore less about building anything and more about deciding which methods your users may register, how the requirement is enforced, and how people are moved onto it without a flood of help desk tickets.
The scope is narrower than many administrators expect. Two-factor authentication applies to OpenProject's own login form and adds a step after the password check. It does not replace the password, does not change how your identity provider authenticates users if you sign in through SSO, and does not protect API tokens or service accounts in the way an interactive login does. Confirm with your own configuration which sign-in paths your users actually take, because a user who signs in through an external provider follows the second-factor rules of that provider, not OpenProject's.
Plan the rollout as a user task, not only a server change. Decide whether to require 2FA for all users or for specific groups, and whether a remembered device period is acceptable for your risk profile. Each user who must register a device will be prompted at their next login, so communicate the date, the supported authenticator apps and the security key options in advance. Keep a documented recovery path for users who lose their device, and confirm with your administrators how account recovery is handled before enforcement begins.
What you need before enabling 2FA in OpenProject
Two-factor authentication in OpenProject depends on a few decisions made before anyone opens the administration settings. The cards below cover the release and edition, the HTTPS instance, administrator access, the authenticator and key types your users will use, and whether SSO or LDAP already handles primary sign-in.
Confirm version and edition
Check which OpenProject release you run before planning the rollout. The current 17.x line includes 17.9.0, released on September 30, 2026, and 17.9.2, released on October 15, 2026. Two-factor authentication is listed on the pricing page from the Basic Enterprise plan, so confirm your edition against the pricing page and your license before you promise it to users. Confirm feature availability against the documentation for your exact release.
OpenProject pricingWorking HTTPS instance
Two-factor enrollment and WebAuthn both depend on the browser trusting the site over HTTPS, and security keys and passkeys are bound to the domain name users sign in with. Decide the final host name before enrollment starts, because a later change can leave registered devices unusable. Confirm that the reverse proxy passes the correct host and protocol headers so that login redirects and device registration use the public address.
Administrator access and a recovery plan
Enforcing a second factor for all users can lock out the people who would otherwise fix a problem. Keep at least one administrator who already has a registered second factor and a tested recovery route, such as a second admin account. Record who holds administrator rights and where the recovery steps are stored, so a lost device does not become an outage.
Choose authenticator apps and key types
Decide which TOTP authenticator apps staff may use and whether security keys or platform passkeys are allowed. TOTP codes accept 30 seconds of clock difference by default, so devices and the server need reliable time sync. WebAuthn is enabled by default with 2FA, so confirm that your users' hardware keys and browsers support it before you rely on it as the only second factor.
Map the primary sign-in path
Decide whether SSO or LDAP already handles primary sign-in. Two-factor settings inside OpenProject apply to its own login flow, so an identity provider that enforces its own MFA may make a second check redundant or conflicting. Confirm how each sign-in method interacts with OpenProject's second factor before enforcing it for all users.
Confirm SMS options with your release
SMS-based second factors are not offered as a standard choice. The MessageBird and Amazon SNS options are available only through configuration variables, so they require deliberate setup by your administrators. Check the two-factor documentation for your release for the exact variables and their behavior, and confirm the sending provider, data handling and costs with that provider before you include SMS in your plan.
Two-factor docsEnabling and enforcing 2FA step by step
This sequence moves OpenProject from password-only sign-in to enforced two-factor authentication in a controlled order, so each control is proven on a pilot account before it reaches every user. Each step closes with a check you can see before moving on.
Confirm edition and version support
Before changing anything, confirm which OpenProject version and edition you run and check that two-factor authentication is included in your plan. OpenProject's pricing lists two-factor authentication among features from the Basic plan, so verify this against your current subscription or Community setup with your vendor or account contact. Record the exact version from the administration area so the settings you use match the documentation for that release. The step is complete when you have a written note of the edition, the version and the plan that covers 2FA.
Enable TOTP and WebAuthn options
Sign in as a system administrator and open the authentication settings to turn on two-factor authentication. Confirm that the authenticator app (TOTP) option is active and that WebAuthn is available, since WebAuthn is enabled by default with 2FA. Keep SMS-based options off unless your team has deliberately set them through configuration variables and tested delivery. The check is that the authentication settings page shows TOTP and WebAuthn as enabled, and that no unexpected second-factor method is offered to users.
Test enrollment with a pilot admin account
Create or choose a pilot administrator account that is not your everyday login. Register an authenticator app on that account, then register a WebAuthn security key or passkey as a second device if your team uses them. Sign out and sign in again to confirm the second-factor prompt appears and accepts both methods. The check is a successful test login with each method and both devices listed on the pilot account's security settings. Keep a separate break-glass path available before you go further, as described in the SSO guidance.
Check time synchronization for TOTP codes
TOTP codes depend on accurate clocks. OpenProject allows 30 seconds of clock difference by default, so confirm that the application host and the users' devices keep time through a reliable time source. Ask your infrastructure team to verify the server clock and any container host clock against that source. The check is that a code generated on the pilot device is accepted on the first attempt during the test login, and that a deliberately wrong code is rejected. If codes fail intermittently, fix clock drift before rolling out.
Set the remember-device period
Decide how long a successful two-factor login should be remembered on a browser. Set the remember period in the two-factor configuration to match your organization's risk policy, and record the chosen number of days and the reason for it. Shorter periods mean more prompts, and longer periods mean a stolen browser session stays trusted for longer, so involve your security owner in the decision. The check is that after a test login with the remember option selected, the pilot account signs in without a second prompt during the period, and prompts again once the period has passed.
Require 2FA for all users
Switch on the setting that requires two-factor authentication for all users, after the pilot has passed. Users are not forced to register a device in advance, so the requirement takes effect at their next login, when they are asked to register a device before they can continue. Schedule the change for a point where support staff can answer questions. The check is that a non-admin test account is prompted to register a device at its next sign-in, and that the prompt cannot be bypassed to reach project data.
Communicate the registration step to users
Send users a short guide covering what they will see at next login, which apps and security keys are supported, what to do if they lose a device, and who to contact for help. Explain that they will register a device once and that the remember-device period controls how often they are prompted afterward. Name the administrator who resets a lost device, and keep the reset procedure tested in the pilot. The check is that a sample of users completes registration without support escalation, and that device resets are handled through the procedure you tested.
How a 2FA check fits into the OpenProject login flow
The login starts at the sign-in page, and the path splits by account type. A local password account moves to the second factor challenge after the password check, while an SSO account is handed to the identity provider, which owns the first factor. In both paths, an administrator's enforcement setting decides whether a user without a registered device is asked to register one at login, and a remember-device window decides how often the challenge returns. Confirm in a test instance which of these steps still apply to your SSO setup, because the provider's own MFA may already cover the second factor.
Local and SSO sign-in paths through the 2FA decision points.
Choosing between TOTP, WebAuthn and passkeys
Time-based one-time passwords (TOTP) are the most common second factor because most staff already have an authenticator app on a phone. In OpenProject, a user who must register a second factor sees the device setup at login, scans a code with the app, and enters the six-digit code to confirm. TOTP codes depend on the clock, and OpenProject allows 30 seconds of clock difference by default, so the user's device and the server must keep accurate time.
- Enrollment: The user scans the setup code once and confirms it with a current code before the account is considered protected.
- Lost phone: Recovery depends on an administrator resetting the user's second factor, so decide in advance who handles that request and how identity is verified.
- Clock drift: Devices with wrong time produce codes that fail, which often looks like a broken setup to users.
- Shared accounts: Codes tied to one person's phone do not work for shared or service logins, so plan those accounts separately.
- Cost: Authenticator apps cost the organization nothing beyond staff time for support.
Confirm the exact enrollment screens and reset steps in the release you deploy against the OpenProject two-factor documentation before writing help desk instructions.
WebAuthn lets users confirm sign-in with a hardware security key that holds the credential and never reveals a shared secret. It suits administrators, finance users and anyone whose accounts carry high privilege. In OpenProject, WebAuthn is enabled by default once two-factor authentication is on, so teams that want only app codes need to make that choice deliberately rather than assume it.
- Enrollment: Users register one key and should register a backup key during the same setup so that one lost key does not lock them out.
- Lost key: Without a registered backup, recovery goes through an administrator, which is slower and needs a verified request.
- Browser support: Keys work only in browsers that support the WebAuthn API, so test the browsers your staff actually use.
- Procurement: Key models, form factors and vendor certifications are a purchasing decision, and the organization should set its own approved list.
- Ongoing cost: Keys are a one-time hardware purchase per user, plus replacement stock for losses.
Ask your security team which key models and browsers they will approve, then test one enrollment and one recovery from start to finish on the target release.
Passkeys are device-bound or synced WebAuthn credentials that unlock with a fingerprint, face or device PIN. For users, they are often the simplest sign-in, but for the organization they raise questions the other two methods do not: whether credentials sync to personal cloud accounts, and whether the platform can enforce attestation or hardware-backed keys. Whether OpenProject's WebAuthn support covers the passkey flows your users expect depends on the release and the browser, so verify rather than assume.
- Enrollment: Passkeys are registered on the user's device during setup, and the enrollment flow must be tested on each platform in use.
- Sync policy: Decide whether synced passkeys stored in personal accounts are acceptable for work accounts, because that choice changes the recovery and data handling story.
- Device loss: Recovery of a synced passkey depends on the platform account, while a device-bound passkey needs a backup method registered in OpenProject.
- Release check: Confirm passkey behavior against the OpenProject release notes for the version you deploy, since WebAuthn behavior can change between releases.
- Mixed fleets: Staff on older devices may need a hardware key or app code as a fallback.
Before rollout, run a pilot with each platform your staff use and record exactly what the enrollment and recovery screens show.
How 2FA combines with SSO and break-glass access
The identity provider's MFA does not automatically cover OpenProject's own 2FA. When staff sign in through an external provider such as Keycloak, Entra ID or ADFS, the provider's multi-factor policy governs that sign-in, but OpenProject's built-in two-factor settings are a separate layer that you must confirm separately. Whether OpenProject still prompts for a TOTP code or WebAuthn key after a federated sign-in, and whether the remember-device period applies in that flow, depends on your SSO configuration and your OpenProject version. Do not assume either way. Build a test instance with the same provider, enforce 2FA for a test user, and record exactly which prompts appear at each step, including the first sign-in, a return visit and a session after the remember-device period has lapsed.
Plan a local administrator path that still uses 2FA. Once SSO is the normal route, a provider outage or a misconfigured redirect can lock out everyone, so the break-glass login described in the sibling topic on keeping a break-glass admin is the fallback. That account should be an internal account, registered with a TOTP app or a WebAuthn key held by a named person, and stored credentials must be kept with the recovery material your team already controls. Confirm that the 2FA requirement you apply to all users also covers this internal account, and that it is not bypassed by a password login mode or a bypass list. Test that the fallback works before you turn on the enforcement for the production instance.
Confirm the combined behavior with your own configuration before rollout, and write the result into your access documentation. Ask the implementation team to document, for each login path (provider, internal login and any password mode), which factor is required, who can change the setting and how a lost authenticator is reset. Retest after every change to the identity provider, OpenProject upgrade or 2FA setting, because these interact. Keep the same review for the provider's own MFA policy, since it is configured in a different system and is outside OpenProject's control.
Settings and their effect on users
This table maps each two-factor setting in OpenProject to what administrators change and what users see at login. Read each row as a question you can answer before rollout: who is affected, what they must do, and how often they are prompted again. The main takeaway is that enforcement and the remember-device period shape the user experience more than the authentication methods do.
| Setting | What it controls | User-facing result |
|---|---|---|
| TOTP clock tolerance | Accepted time difference between the user's authenticator app and the server, 30 seconds by default | Codes from a phone with a slightly drifted clock still work; larger drift causes repeated code rejections that users report as broken 2FA |
| Remember-device period | Number of days a completed 2FA login is remembered on that browser, set by the administrator | Users are prompted for a second factor once per period instead of at every sign-in; the value you choose sets how often prompts recur |
| Enforce 2FA for all users | Administrator flag that requires every user to have a second factor registered | Users without a registered device are asked to register one at their next login before they can continue |
| WebAuthn (default with 2FA) | Enables security keys and passkeys as second factors when 2FA is active | Users can register a hardware security key or passkey in addition to, or instead of, an authenticator app code |
| MessageBird SMS option | Available only through a configuration variable, not the admin interface | If configured, users can receive a code by text message; confirm the variable names and vendor setup in your installation before offering this |
| Amazon SNS SMS option | Available only through a configuration variable, not the admin interface | If configured, users can receive a code through Amazon SNS text delivery; confirm the setup and its cost with your cloud team before enabling |
| Interaction with SSO | Whether the identity provider already performs its own second factor check | Confirm with your identity team whether OpenProject's prompt would duplicate the provider's MFA before enforcing it for SSO users |
Security settings that make a second factor hold up
A second factor only protects accounts when the settings around it are right. The six controls below cover who must enroll, how long a trusted device stays trusted, what happens when a device is lost, when SMS is acceptable, the time and TLS basics that TOTP depends on, and how administrators can see changes to 2FA. Work through them together before rollout, because a gap in one undermines the others.
Enforce for administrators first
Start enforcement with the accounts that can change the instance, such as administrators and anyone who manages users, roles or authentication settings. OpenProject can require 2FA for all users, and those users register a device at their next login. Enforcing for administrators first lets your team test enrollment, recovery and the help desk steps on a small group before the requirement reaches every user. Confirm in your version whether enforcement can be scoped to a group or applies only instance-wide.
2FA docsLimit the remember-device period
OpenProject can remember a 2FA login for a set number of days, so a trusted browser skips the second prompt until the period ends. Choose the shortest period your users will accept, and treat a long period as a conscious risk decision for lower-sensitivity accounts. Confirm the configured value with your own test login and check whether a password change or admin action clears the remembered state.
Plan lost-device and recovery handling
Each user should register more than one factor where possible, because a lost phone otherwise locks the account out. Define who can reset a user's registered devices, how the requester's identity is verified, and how the action is recorded. Test the full path with a throwaway account: enrollment, loss, reset, re-enrollment. Confirm whether your version provides self-service recovery codes before you promise users a fallback.
Avoid SMS and document the exception
OpenProject's documented methods are authenticator app codes and WebAuthn, which is enabled by default with 2FA. SMS delivery is available only through configuration variables for MessageBird or Amazon SNS, so it is an explicit decision your team makes and records. SMS codes can be intercepted or redirected, so prefer TOTP or security keys and keep any SMS exception in a written list with an owner and a review date.
Keep TLS and clock sync in place
TOTP codes depend on matching time. OpenProject accepts a clock difference of 30 seconds by default, so a server or phone clock drifting beyond that causes failed logins that look like bad codes. Keep server and client time synchronized through NTP, serve the instance only over TLS, and confirm your reverse proxy does not alter the login flow. Test enrollment from a device on your managed fleet before rollout.
Log and review 2FA changes
Changes to enforcement, remember-device length, SMS settings and user device resets are the events an attacker or insider would target. Decide where OpenProject and reverse proxy logs go, who reviews them, and how often. Confirm which 2FA administrative actions appear in the audit or application logs of your version, and set an alert or periodic review for changes that loosen the policy.
Common 2FA failures and how to fix them
This table pairs each common OpenProject two-factor failure with its most likely cause and the fix to try first. Read it as a triage list: match the symptom users report, check the cause column in your own environment, then apply the fix. Causes that depend on your proxy, identity setup or configuration should be confirmed against your deployment before you change anything.
| Failure | Likely cause | Fix |
|---|---|---|
| TOTP codes rejected | Clock drift between the user's phone or the server exceeds the default 30-second tolerance | Sync the server and device clocks with NTP, then ask the user to retry with a fresh code |
| User locked out after losing a device | No backup second factor registered, so the only device holding the TOTP secret is gone | An administrator resets the user's 2FA so they can register a new device at next login |
| Remember-device period feels too long or too short | The configured number of remembered days applies to every user, so users expect a different window | Set the remember period deliberately and tell users how long a trusted login lasts |
| WebAuthn security key or passkey fails | The site is served under a different origin than the one the key was registered against, often after a reverse proxy or hostname change | Confirm the public URL and host headers match the configured host, then re-register the key |
| WebAuthn fails only behind a proxy | TLS termination or forwarded headers change the origin the browser sees | Check proxy forwarding headers and that the browser reaches the instance over HTTPS |
| WebAuthn unavailable in some browsers | The browser or device does not support the authenticator type, or the connection is not a secure context | Test in a supported browser over HTTPS and fall back to a TOTP app for those users |
| SMS codes never arrive | SMS is not enabled by configuration, or the MessageBird or Amazon SNS variables are missing or wrong | Set the provider variables in the deployment configuration, restart, and send a test code |
| Users cannot find the 2FA setup after enforcement | Enforcement sends users to register a device at next login, and they missed the prompt or sign in through SSO | Confirm the login path in use, and check whether the identity provider already enforces a second factor |
Questions buyers ask about OpenProject 2FA
Is enabling two-factor authentication in OpenProject a short configuration task?
For a single instance with a few users and no SSO, turning on the feature is mostly configuration, but the work around it is not. Someone has to decide which methods to allow, whether 2FA is required for everyone, how long a login is remembered on a device, and how users register their devices. Each of those choices is small on its own, but they interact with recovery and support. Most organizations treat it as a short configuration change plus a rollout plan, and the size of that plan depends on the factors in the next questions. Confirm the exact settings against the OpenProject 2FA documentation for your version before you change anything in production.
What drives the effort for OpenProject 2FA?
The main drivers are the number of users, whether sign-in goes through SSO, the recovery policy, whether you issue hardware security keys, and how much testing you do. A small team using local accounts is a light job. A larger population with SSO, mixed devices, and a requirement that nobody gets locked out is a larger one. Ask for each driver to be listed separately in a quote so you can see which parts you can absorb internally and which you want a partner to carry.
Does 2FA still matter if we already sign in through SSO?
It depends on where the second factor is enforced. If your identity provider already requires a second factor for every sign-in, OpenProject may not need its own. If some accounts reach OpenProject through local passwords, a break-glass admin login, or a provider that does not enforce MFA, OpenProject's own 2FA setting becomes the control that covers those paths. Map each sign-in route to a factor before you decide, and test the combination so that a user cannot skip a step by choosing a different route.
What must our team provide before an engagement starts?
Plan to provide administrator access to the OpenProject instance, a non-production test instance that matches production as closely as practical, and a list of user groups with their sign-in routes. You also need a communication plan that explains how users register a device at their next login, who they contact when they lose a phone or key, and when enforcement starts. If SSO is involved, the identity provider owner must be available for testing. Agree these inputs in the written scope so that delays on your side are visible.
Can an internal administrator enable and manage 2FA alone?
Yes, for a basic setup, an internal administrator with access to the OpenProject administration area can enable TOTP, WebAuthn, and enforcement for all users, and set the remember-device period. What usually needs more hands is the rollout: testing sign-in paths, deciding recovery procedures, handling users who cannot register a device, and checking the result in a staging copy before enforcing it. A partner is most useful for that review and for documenting the procedure, while your administrator keeps day-to-day control.
Which parts of 2FA depend on the Enterprise plan?
OpenProject's pricing page lists two-factor authentication among the features available from the Basic plan, so the core 2FA feature is not gated behind Professional or Premium. The plan question matters for the surrounding work. Single sign-on through SAML, OpenID Connect, CAS, Kerberos, or Okta, LDAP group synchronization, and custom branding are listed as Enterprise features, and they change how sign-in and enforcement fit together. Confirm the plan and the per-user pricing on the pricing page, since the Basic plan is priced per named user per month with a 25-user minimum on the Professional plan.
Which SMS options can we use for second-factor codes?
OpenProject's documentation describes TOTP authenticator apps and WebAuthn as the main methods, with WebAuthn enabled by default alongside 2FA. SMS-based options through MessageBird and Amazon SNS are available only through configuration variables, not from the admin interface. Before choosing SMS, check the current configuration reference, confirm the provider account and its data handling terms with your compliance team, and weigh the support load of delivery problems against authenticator apps and security keys.
Does the remember-device period weaken enforcement?
It shortens the number of times a user must enter a second factor, which is the trade-off you are choosing. A longer remembered period reduces friction but extends the time a stolen or shared device stays trusted. Set the period from your own risk assessment, consider shorter periods for privileged accounts, and document the choice so auditors see it was deliberate. Confirm the number of days and the exact behavior in the OpenProject 2FA documentation for your release.
Official OpenProject 2FA documentation and pricing
Start with the OpenProject two-factor authentication documentation before you change any setting. It is the reference for how TOTP authenticator apps and WebAuthn behave, how enforcement for all users works, and how the remember-device period is set. Read it against the exact OpenProject version you run, because the admin screens and configuration keys can shift between releases. Copy the relevant configuration keys into your change record so the security owner can review them alongside your identity provider settings. The documentation is at OpenProject two-factor authentication docs.
Check the release notes for your running version before you plan a rollout. Two-factor behavior, including defaults such as WebAuthn being enabled with 2FA and the availability of the MessageBird and Amazon SNS options through configuration variables, is the kind of detail that can change between releases. Confirm with OpenProject which version introduced or changed each behavior you depend on, and schedule the upgrade and the 2FA test in the same window if the release you need is newer than your current one. The OpenProject release notes list each version's changes.
Use the OpenProject pricing page to confirm which plan includes two-factor authentication for your user count before you commit to a design. The pricing page lists two-factor authentication among features available from the Basic plan, and Enterprise on-premises pricing is per named user per month with minimum user counts by tier. Ask your vendor or partner to confirm in writing which edition and plan your deployment needs, since SSO and directory features sit on different tiers and may change the plan you buy.
How DeployOpen scopes and delivers OpenProject 2FA
DeployOpen plans, implements and hands over OpenProject two-factor authentication inside your own infrastructure, from the authenticator and security key policy to enforcement and the remember-device period. Engagements are fixed-scope, with the second-factor rules agreed in writing before any change reaches your users.
How we scope
- We confirm which users must enroll, which roles are exempt, and whether any accounts need a different path.
- We record the TOTP, WebAuthn and passkey methods you accept and whether SMS delivery is required at all.
- We agree the remember-device period, the enforcement date and the rollout communications in the written scope.
How we build
- We configure the authentication settings in a staging instance that mirrors your production version and SSO setup.
- We test enrollment, login, lockout recovery and the interaction with your identity provider before production change.
- We document each setting, default and configuration variable we changed so your team can reproduce the build.
How we hand over
- We deliver the configuration record, a tested enrollment guide for users and a runbook for administrators.
- We walk your administrators through resetting a user's second factor and recovering access without a shared secret.
- We confirm with you which decisions still need sign-off from your security or compliance owners before go-live.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- After each OpenProject upgrade we can recheck the two-factor settings and enrollment flow in staging.
- Support scope, response expectations and review cadence are set in the retainer agreement, not assumed by default.

