Who needs two-factor authentication in SuiteCRM and when
Time-based one-time password (TOTP) two-factor authentication asks each SuiteCRM 8 user to enter a short-lived code from an authenticator app after the password is accepted, so a stolen password alone does not open the CRM. Teams should turn it on for any self-hosted instance that holds customer contacts, pipeline or service cases, and should treat it as required for accounts with admin, export or mass-update rights. Sales, service and admin users all sign in through the same entry point, so the decision covers every role, not only administrators. Settle the policy before go-live, while the user list is still small and enrollment is easy to manage.
The second factor only makes sense once you know which sign-in path each user takes. With password-only login, SuiteCRM checks credentials it holds itself, so TOTP is the main control at that step. With LDAP, enabled with AUTH_TYPE=ldap, the directory validates the password, so lockout and password rules live in the directory. With SAML, enabled with AUTH_TYPE=saml, the identity provider authenticates the user, and the SAML configuration reference covers the settings involved. Ask your identity team whether an MFA policy at the identity provider already covers SuiteCRM logins, and confirm whether SuiteCRM's own TOTP prompt applies to LDAP and SAML users in your release before you assume either way.
Confirm the exact enablement steps against the SuiteCRM 8 release in use before writing a runbook. Minor releases arrive roughly every eight weeks, and screens and settings can change between them, so check the admin documentation for your version and the SuiteCRM-Core release notes. Test the change on a staging instance, record who has enrolled, and agree how recovery works when a phone is lost before the first real user is asked to enroll. Also note that the SAML implementation in 8.7.0 and later does not support IdP-initiated logout, so closing a session at the identity provider does not end the SuiteCRM session.
How 2FA fits each SuiteCRM login method
When SuiteCRM 8 checks passwords against its own user records, the password check and any second factor run inside the CRM. SuiteCRM is therefore the enforcement point, and your SuiteCRM administrators own the decisions about who must enrol, how resets work and how recovery is handled when a device is lost. Confirm in the SuiteCRM 8 documentation for your release which 2FA settings appear in the admin interface, which need configuration files, and whether enrolment can be required by role or only per user.
- Enforcement point: SuiteCRM checks the password and the one-time code at sign-in, so the CRM's own session is the asset being protected.
- Ownership: Your SuiteCRM administrators own enrolment, reset and recovery procedures, because no upstream directory handles them.
- Throttling interaction: Confirm how login throttling counts failed attempts when a second factor is also required, so legitimate users are not locked out by mistyped codes.
- Admin accounts first: Apply the factor to administrator and data-export accounts before the wider user base.
Check that a standard user can sign in, enrol, and recover access using a test account in staging before you roll the change out.
With AUTH_TYPE=ldap, SuiteCRM 8 uses Symfony Security LDAP authenticators to validate the password against your directory, so the directory decides whether the password is correct. Whether a second factor applies depends on what sits in front of the directory or on any factor step that SuiteCRM itself offers for LDAP users. Read the LDAP configuration reference for your release and confirm whether SuiteCRM adds a local prompt in this mode at all, instead of assuming one exists.
- Where the factor lives: The options are the directory's own multi-factor policy, a federation or access layer in front of SuiteCRM, or a SuiteCRM-side step if the vendor documents one for LDAP users.
- Ownership: The directory team owns password policy, lockout and factor enrolment, while SuiteCRM administrators own role mapping.
- Local fallback accounts: Confirm whether local administrator accounts can still sign in when LDAP is enabled, and whether they bypass the directory factor.
- Service account: Any account SuiteCRM uses to search the directory needs a managed password and its own access review.
- Lockout coordination: Directory lockout and SuiteCRM throttling both count failures, so test which one triggers first.
Ask the vendor and your directory team to confirm the full path from password to session in writing, then test with an LDAP account that has a factor enrolled.
With AUTH_TYPE=saml, SuiteCRM 8 hands authentication to the identity provider through the nbgrp onelogin-saml-bundle, and the identity provider normally enforces the second factor. The identity provider's policy therefore decides whether a user must present a factor. SuiteCRM administrators still own the service provider settings, the attribute mapping that assigns roles and whether any local factor is layered on top. Confirm these points against the SAML configuration reference for your release.
- Where the factor lives: Usually the identity provider's multi-factor policy, applied to the SuiteCRM application or to a group of users.
- Ownership: The identity team owns the factor and its policy, while SuiteCRM administrators own service provider configuration and role mapping from assertion attributes.
- Password logins: Confirm whether password sign-in is disabled once SAML is active, and whether a break-glass local administrator exists with its own factor.
- Certificate rotation: Certificate or metadata changes on either side can block every user, so document a recovery route before rotating.
- Session length: Confirm how long the SuiteCRM session lasts after an assertion is accepted, because the factor was satisfied at the identity provider, not inside SuiteCRM.
Test a user whose factor is enforced at the identity provider and confirm the factor is requested on every sign-in path the provider supports.
The SuiteCRM 8.7.0+ SAML implementation does not support IdP-initiated logout or POST binding to the logout service. Signing out at the identity provider therefore does not end the SuiteCRM session, and this affects how any second factor protects a session after sign-in. The gap applies to shared workstations, disabled accounts and users who leave the organization, so it belongs in the rollout plan alongside enrolment and recovery.
- One-way sign-out: A user who signs out at the identity provider keeps an active SuiteCRM session until it expires or they sign out of SuiteCRM.
- Shared workstations: Instruct users to sign out of SuiteCRM directly, and set a session timeout that your security team accepts.
- Revocation gap: Disabling a user at the identity provider does not end an active SuiteCRM session, so define a procedure to end those sessions and confirm what your release offers for it.
- Factor timing: A factor satisfied at sign-in applies to that session only, so confirm how long SuiteCRM accepts the original sign-in before requiring a new one.
- Test script: Include sign-out, revocation and timeout cases in the verification plan for every login method.
Confirm the logout and session behavior of your exact SuiteCRM release before you write the user guidance.
Which 2FA configuration fits which environment
This table compares three ways to enforce a second factor for SuiteCRM 8 users: local TOTP on password accounts, an upstream identity provider's MFA through SAML, and directory policy through LDAP. Read each row against your user base and identity stack, then confirm the points in the final column with your own environment before committing. The main takeaway is that the option you choose decides where recovery work lands, so pick the place where your team already manages credentials.
| Option | Fit | Admin effort | Recovery burden | What to confirm |
|---|---|---|---|---|
| Local TOTP for password accounts | Small user base with local SuiteCRM logins and no central identity provider | Enable and enforce per user in SuiteCRM, then train users on enrollment | High: the CRM team resets lost authenticators and issues backup codes | Whether your SuiteCRM build exposes the TOTP settings you need and how enrollment is enforced |
| MFA at an upstream SAML identity provider | Organizations already running a central identity provider for SaaS and internal apps | Configure the SAML trust and align the identity provider MFA policy with SuiteCRM roles | Moderate: recovery follows the identity provider process, but SuiteCRM admins still handle local break-glass accounts | Whether SAML is set as AUTH_TYPE=saml and how your identity provider handles logout, since IdP-initiated logout is not supported in the 8.7.0+ SAML implementation |
| Directory policy through LDAP | Organizations that manage staff accounts and password rules in a directory | Point SuiteCRM at the directory with AUTH_TYPE=ldap and agree who owns MFA policy in the directory | Moderate: resets flow through the directory team, and local accounts need a separate path | Whether your directory enforces a second factor for bind and login, and how that policy reaches SuiteCRM logins |
| Mixed local and federated accounts | Environments with service or vendor accounts that cannot use the identity provider | Two sign-in paths to document, test and keep in step with each role | High for local accounts, because they need their own enrollment and recovery | Which accounts remain local, who approves them and how they are reviewed |
| Recovery path for a lost phone | Any option where a user loses the authenticator | Define the help desk script, identity checks and admin steps before go-live | Depends on the option chosen: the identity provider or directory team for federated users, the SuiteCRM admin for local users | Who can reset a factor, how identity is verified and where the reset is logged |
Rolling out TOTP 2FA in SuiteCRM 8 step by step
This sequence moves TOTP two-factor authentication from a tested configuration to every user account, with a check at each stage. Each check gives the team evidence that sign-in and recovery work before the next group is enrolled.
Confirm the release and login mode
The admin confirms which SuiteCRM 8 minor release is running and which login mode is active: local database accounts, LDAP or SAML. Read the AUTH_TYPE value from the environment configuration and check the release against the compatibility matrix and the LTS page. If SAML is active, confirm with the identity provider team where the second factor is enforced, because SAML logout does not end the SuiteCRM session. Done when the release, login mode and 2FA settings for that release are recorded in the rollout plan from the official admin documentation.
Test enablement on a staging instance
Build a staging copy of the production instance with the same release, PHP and database versions, and login mode. Enable TOTP according to the admin documentation for that release and note every setting changed. Sign in with a test account, enroll an authenticator app, and confirm the login prompt appears and accepts a valid code. Done when a repeatable test run shows enrollment and sign-in working from a clean browser session, and the steps are written down for production use.
Pilot 2FA with admin accounts
Enable 2FA for a small group of administrator accounts in production, starting with the people who will support the rollout. Each admin enrolls an authenticator app on their own device and signs out and back in to confirm the second factor is requested. Admins also test the settings screens they use every day, since a lockout there blocks the rest of the rollout. Done when every pilot admin has signed in with a code from the app and no unexpected prompts or errors remain in the logs.
Enroll authenticator apps for users
Publish a short guide that tells users how to add the account to an authenticator app, which app types the organization accepts, and who to contact for help. Users enroll during a supervised window so the support team can answer questions in real time. Track enrollment by role or team so no group is left behind. Done when each user has enrolled, can sign in with a code, and the support team has logged the common problems and fixes.
Issue and store backup codes
Confirm that the backup code feature is available in the release in use, then have each user generate and save their codes at enrollment. Users store the codes in a password manager or a sealed location controlled by the organization, not on the same phone as the authenticator app. Test one backup code on a test account, then confirm it can be used only once. Done when the test shows backup codes work and single use is enforced, and users have confirmed they saved their codes.
Document lost-device recovery
Write the recovery procedure before wider rollout. It should say how a user with a lost phone regains access, which admin can reset 2FA for an account, how that reset is approved and logged, and how the user re-enrolls. Test the procedure on a staging or test account by simulating a lost device, then restore access through the documented path. Done when the test account is back in service through the procedure, the reset is recorded in the audit trail, and the support team has signed off on the steps.
Roll out 2FA to all users
Extend enforcement to all remaining accounts in groups, starting with the teams that handle the most sensitive customer records. Keep the support channel and recovery procedure open during the rollout and review sign-in failures and reset requests each day. Confirm that accounts using the database, LDAP or SAML login modes behave as tested in staging. Done when every active account requires a second factor, the support queue has cleared, and the rollout record shows which groups were enrolled and when.
Each login passes a second factor before the session starts
The flow starts at the SuiteCRM login page, where the user submits a username and password. The AUTH_TYPE setting decides the first check: SuiteCRM can verify a local password itself, or hand the user to LDAP or SAML at the identity provider. The identity provider's answer crosses the trust boundary back into SuiteCRM, which then asks for the TOTP code before it creates a session. Confirm that the admin recovery path is controlled and logged, and remember that logging out at the identity provider does not end the SuiteCRM session.
Login path from the sign-in page through the TOTP check to session creation.
Security and operational risks in 2FA rollouts
Two-factor authentication changes who can get into SuiteCRM and how sessions end, so each rollout risk is also an access risk. The cards below pair each failure mode with a control and a check the team can run before and after go-live. Confirm the exact 2FA behavior of your SuiteCRM 8 release against its documentation, because the controls depend on it.
Lockout after a lost phone
If the only second factor is a phone authenticator, losing the device can lock a user out of their own account and, if no one else can reset it, block a business process. Set a recovery path before rollout: a documented helpdesk identity check, a named approver, and a rule for who can reset another user's enrollment. Check that at least two people in the admin group can complete a recovery on a test account before the first real user enrolls. Test the recovery path before the first enrollment, not after the first lockout.
SuiteCRM LTS pageBackup codes stored insecurely
Backup codes work as a full bypass of the second factor, so a copy saved in a shared spreadsheet, chat message or unencrypted note undoes the control. Instruct users to store codes in a password manager or other approved vault, and state that codes must never be emailed or pasted into tickets. Check periodically that codes are not stored in shared drives, and that code regeneration invalidates the old set. Treat backup codes as passwords in both user guidance and support scripts.
Admin accounts without 2FA
Administrator accounts control user records, roles, integrations and the authentication settings themselves, so an admin without a second factor is the highest-value target in the instance. Decide whether 2FA is mandatory for every admin account before enabling it for general users, and confirm that the enrollment status of each admin is visible to the team. Run a review of admin accounts against the enrollment list after every rollout wave and after each staff change. Keep the admin group small so the review stays manageable.
Clock drift on TOTP codes
Time-based one-time codes depend on the device and the server agreeing on the current time, and a phone that has drifted can produce codes the server rejects. Users then report that a correct code fails, and support staff may be tempted to relax controls to fix it. Confirm the server clock is synchronized with NTP on every web and worker node, ask users to enable automatic network time on their devices, and document how the server handles small time offsets in your release. Synchronize server time on every node before go-live.
SAML sessions outliving IdP logout
The SuiteCRM 8.7.0+ SAML implementation does not support IdP-initiated logout or POST binding to the logout service, so ending a session at the identity provider does not end the SuiteCRM session. A user who signs out of the identity provider, or whose account is disabled there, can still hold an active SuiteCRM session. Plan a session timeout policy, have administrators end sessions on offboarding, and test a disabled-user scenario in staging. Confirm how 2FA prompts interact with an existing SAML session before you publish the login procedure.
SAML configuration referenceRollout changes left unverified
A 2FA change can look successful in the admin screen while login still succeeds with only a password for some paths, such as API tokens, legacy entry points or a directory login. Build a short test script covering each login method, each user role and a locked or disabled account, and run it in staging before production. Repeat the script after every SuiteCRM minor or patch upgrade, since authentication behavior is part of what those releases change. Run the login test matrix after each change, not only at rollout.
Questions teams ask before enabling 2FA in SuiteCRM
How much effort does a 2FA rollout in SuiteCRM take?
Effort depends on how many login paths exist, how many user roles need the second factor, and how much of the recovery process must be written before go-live. No single effort figure applies to every environment, so ask for one in a written scope. The work usually falls into four parts: confirming the sign-in method in use (local accounts, LDAP or SAML), enabling and testing the TOTP factor on a staging instance, writing the enrollment and recovery procedure, and running a short pilot with each user role. Each part grows with the number of roles, identity systems and pieces of custom login code. Ask the partner or your own team to list these parts, the test accounts required and the sign-off points before work starts.
Can our own team enable 2FA in SuiteCRM without a partner?
Often yes, if an administrator is comfortable with SuiteCRM configuration and the team can test on a copy of production. The work centers on testing every login path, handling lost devices and documenting steps for support staff. A partner is most useful when the instance has custom login logic, uses SAML or LDAP, or must answer a security review on a short timeline. Before deciding, check three things: who will support enrollment after launch, whether a staging environment mirrors production, and who can rebuild the setup if a patch release changes login behavior. DeployOpen plans this kind of work as fixed scope, with scope, deliverables and timelines agreed in writing before work starts, so you can set that against an internal plan.
What do we need to provide for a 2FA engagement?
Plan to provide test accounts for each role, access to the identity provider or LDAP directory if either is involved, and a staging instance close enough to production to trust the results. You also need a named approver for the authentication policy, someone who can answer support questions during the pilot, and a change window for production. Test accounts should cover an administrator, a standard user and any restricted role, so each user type can be seen signing in and recovering access. For SAML, the identity provider team must confirm the callback settings and the logout behavior described in the SAML configuration reference. Ask for every access item to be listed in the written scope so delays show up before work begins.
What happens when a user loses their phone and cannot sign in?
Recovery must be designed before enablement, because a locked-out user will otherwise contact the admin team for every case. Decide in advance who can reset a second factor, how the requester is verified, and whether backup codes are issued at enrollment and stored by the user. Write the procedure as a short runbook with separate steps for the help desk and the administrator, and test it on a staging account by removing a factor and re-enrolling. Confirm how backup codes are generated, displayed, regenerated and invalidated in your SuiteCRM version, since your runbook will describe that behavior. Also document how the administrator accounts are recovered, so an admin locked out of the only admin account has a path that does not depend on the CRM itself. Review the runbook after each minor release.
How does 2FA work with SuiteCRM LDAP logins?
Test two-factor authentication as part of the LDAP login path, because the directory and SuiteCRM each hold part of the sign-in decision. LDAP sign-in in SuiteCRM 8 is enabled by setting AUTH_TYPE to ldap and is built on Symfony Security LDAP authenticators. Confirm where the second factor is checked relative to the directory check before writing the policy. Settle whether SuiteCRM enforces the factor after the directory check, whether directory password changes and account disablement take effect immediately, and whether service accounts can bypass the factor. Test a disabled directory account, a changed password and a user who has never enrolled. Record the answers in your security baseline, since a reviewer will ask who controls each step. Read the LDAP configuration reference before the build.
How does 2FA interact with SAML single sign-on in SuiteCRM?
With SAML, the identity provider may already enforce multi-factor authentication, so the first decision is which system owns the second factor. Assign one owner, because a split policy can prompt users twice or let one sign-in path skip the check. SAML is enabled by setting AUTH_TYPE to saml, and the factor policy must be confirmed in the identity provider and in SuiteCRM for every application path. SuiteCRM 8.7.0 and later does not support IdP-initiated logout or POST binding to the logout service, so ending a session at the identity provider does not end the CRM session. Plan for that in the access policy, the offboarding procedure and the session timeout settings. Test sign-in, sign-out, a forced password change and a removed user before go-live.
How should we plan upgrades so 2FA keeps working?
Treat each minor release and patch as a regression test for the login path. SuiteCRM minor 8.x releases arrive roughly every eight weeks, and patch releases contain only security and bug fixes, with no new features or database changes, so the same test script can be reused. Keep a script that covers enrollment, sign-in, backup code use, recovery and each SSO path, and run it on staging before production. Read the release notes for login-related changes, and confirm PHP, Apache and database compatibility against the compatibility matrix. Also check the support status of the version line you run on the SuiteCRM LTS page. No SuiteCRM 8 extended support release had been nominated when this was written, so confirm current support before committing to a version.
What drives the cost of a 2FA rollout and what should a quote include?
Cost comes mainly from the hours spent on analysis, configuration, testing, documentation and pilot support, plus any identity provider or directory work done by other teams. Most of these costs are one-time. Recurring costs include keeping the runbook current, retesting after each release and handling enrollment and recovery requests. Costs rise with the number of login paths, user roles, identity systems and custom code, and fall when the directory or identity provider already enforces multi-factor authentication. DeployOpen does not publish prices, and a quote follows from the written scope. Ask for a scope that lists deliverables, environments, test accounts, the change window, the support period after go-live and exclusions, such as identity provider changes your own team makes. Compare quotes by that list first, then by total.
What to confirm in your environment before go-live
The points below are items to verify, not facts this page asserts. Confirm each one against the SuiteCRM 8 release you run, the vendor documentation and your own test results before you promise users a 2FA rollout date. Together they decide who gets challenged, how they recover access and what evidence you can show a reviewer.
Exact 2FA options in your release
Confirm which two-factor options your SuiteCRM 8 build offers, whether TOTP is the only method and how it is switched on or enforced per user or per role. Check this against the SuiteCRM 8 release notes for the version you run, because option sets change between minor releases. Record the exact setting names and the version they were tested on, so the configuration can be repeated after patching.
Compatibility matrixMFA enforcement for SAML users
Two-factor checks may not run for SAML sign-ins. Confirm whether SuiteCRM applies its own TOTP prompt when AUTH_TYPE is set to saml, or whether the identity provider must enforce MFA. Test a SAML login with an account that has no second factor enrolled at the IdP. Also review the SAML configuration reference for how logout behaves, since the 8.7.0+ implementation does not support IdP-initiated logout.
SAML configuration referenceDirectory policy for LDAP users
Confirm whether MFA is enforced by the directory, by a federated IdP in front of LDAP or by SuiteCRM itself. Check how LDAP-authenticated accounts are enrolled and whether lockout or password policy in the directory can bypass the SuiteCRM challenge. Review the LDAP configuration reference with your directory team, and test a locked and a disabled account to confirm that access stops as expected.
LDAP configuration referenceBackup code issuance and storage
Confirm whether your release issues backup codes at all, how many are generated, whether each code is single use and how a user regenerates them. Check where codes are displayed and whether they can be viewed again by an administrator. Decide how users store them, and test that a used code cannot be reused after the TOTP device is lost.
Recovery when a phone is lost
Define who resets a second factor when a phone is lost, what identity checks the help desk applies before doing so and how long a reset takes. Test the path end to end on a staging instance using a disposable account. Confirm whether an administrator can remove a TOTP enrollment without the user's password, because that capability has to be limited and logged.
Audit logging of enrollment and recovery
Confirm which events SuiteCRM writes to its logs: enrollment, disablement, failed challenges, backup code use and administrator resets. Check that these events reach your central log store with user, time and source address, and that retention meets your policy. Run each event once in staging and confirm it appears in the log before go-live.
Designing recovery when a phone is lost
Decide the recovery path before you enforce two-factor authentication, because a lost phone is the most common moment when a second factor gets switched off by hand. Three options are usually in play: backup codes issued at enrollment, an admin-assisted reset, and an identity verification step that confirms who is asking. Each needs a documented owner. The user owns their backup codes and the storage rule for them, the IT service desk lead owns the reset queue, and a named HR or line-management contact owns identity confirmation for staff who cannot be reached through normal channels. Confirm with your SuiteCRM 8 version's administration documentation which of these the release provides, and how codes are generated, invalidated and stored.
Recovery becomes a bypass when the reset path is easier than the second factor it replaces. Require that the approver of a reset is never the account being reset, and verify the requester through a channel that was on file before the request, such as calling the number in the HR record rather than one supplied in the ticket. Limit the number of accounts allowed to clear a second factor, and make a reset force new enrollment at the next sign-in rather than restoring the old state. Check the sign-in method as well. If users sign in through LDAP or SAML, a reset in SuiteCRM may not change multi-factor settings held by the directory or identity provider, and in SuiteCRM 8.7.0 and later, logging out at the identity provider does not end the SuiteCRM session. Test each path with a non-admin test account before go-live.
Record every reset as a ticket that names the requester, the verification method, the approver, the person who performed the reset, the date, time and reason. Note whether the reset cleared the second factor only, or also ended active sessions or changed the password. Review the log each month for accounts reset more than once, resets outside business hours, and resets where the approver and the operator are the same person. Keep the records for as long as your retention policy requires for access changes, and confirm with your auditors which evidence they expect, since DeployOpen prepares controls and evidence but does not issue audit opinions.
How DeployOpen scopes and delivers SuiteCRM 2FA rollouts
DeployOpen treats two-factor authentication for SuiteCRM as a rollout with a written scope, not a single settings change. The work covers how your admins enable TOTP, how users enroll authenticator apps and backup codes, how lost-device recovery runs, and how 2FA sits alongside any LDAP or SAML sign-on you already use.
How we scope
- Confirm which SuiteCRM 8 login path your users take (local, LDAP or SAML) before any 2FA design starts.
- Agree in writing which user groups, admin accounts and API access paths 2FA applies to.
- Record the recovery process, who approves a reset and how identity is checked before access returns.
How we build
- Enable and test TOTP on a staging SuiteCRM instance that mirrors your production configuration and identity setup.
- Test enrollment, backup code use and lost-phone recovery with a test account for each user role.
- Check the SAML logout gap and session behavior with your identity provider, and document any residual risk.
How we hand over
- Deliver written runbooks for admins covering enablement, user enrollment, recovery requests and audit checks.
- Provide a user guide that explains enrollment steps and backup code storage in plain language.
- Walk your administrators through the rollout and the retest results, and confirm what remains your team's responsibility.
How we support
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
- Ongoing support, upgrades and continuous testing are available as a retainer after handover.
- Ask any partner to confirm how a 2FA change is retested after SuiteCRM patch releases in your environment.

