Skip to Content

Odoo Two-Factor Authentication: 5 Steps to Secure Your Access (1/5)

Close the most commonly forced door in a few minutes, no technical skills required.
November 13, 2026 by
ANOR, Cyrille de LAMBERT

In brief Five settings are enough to secure Odoo access: enabling two-factor authentication per user, setting a minimum password length, enforcing 2FA for the whole team, managing trusted devices and having a procedure ready for a lost phone. Each step takes only a few minutes to configure in Odoo's user preferences or general settings.

A colleague goes on holiday, their phone is stolen and nobody knows how to disable their Odoo access. This scenario is more common than it might seem. The good news: Odoo two-factor authentication and five quick settings are all it takes to close the most commonly forced doors. Here is how to do it, step by step.

Episode 1 of 5 in our "Security Hygiene" series. Upcoming episodes will cover access rights management, traceability, backups and integration security.

Tip 1: Enable 2FA on your own account in three minutes

Open your user preferences and click the "Enable 2FA" button. Odoo asks for your password, displays a QR code and waits for the six-digit code generated by your authenticator app. The "Two-Factor Authentication Activation" wizard guides you through each step.

Note that each user enables 2FA for their own account only. You cannot enable it on behalf of a colleague.

Exercise: enable 2FA on a test account, sign back in to confirm the code is requested, then disable it before repeating the process on your real account.

Tip 2: Set a minimum password length for the entire database

In General Settings, fill in the "Minimum Password Length" field. A strength indicator appears in real time as users type, encouraging strong passwords without requiring individual training.

Take the opportunity to recommend using a password manager. Without naming one in particular, these tools generate long, unique passwords for every service and remember them for you: an immediate gain in both time and security.

Exercise: set a minimum length, create a test account with a password that is too short and observe the error message.

Tip 3: Enforce 2FA for the whole team from settings

As an administrator, enable the "Enforce two-factor authentication" option and choose the scope: "Employees only" for internal staff or "All users" to include portal users. Users who have not yet set up their 2FA receive a code by email as a fallback.

You can also send an individual invitation using the "Invite to use 2FA" button on the user record, which is useful for supporting team members who are less comfortable with technology.

Exercise: enable the requirement on a test environment, sign in with an account that has no 2FA and verify that the email code is requested.

Tip 4: Register a trusted device to save time every day

At each sign-in, Odoo offers the "Don't ask again on this device" checkbox. Ticking it means you will not need to enter the six-digit code at every session on that device. Your list of trusted devices can be viewed and revoked at any time from your preferences.

Systematically revoke devices you no longer use, particularly when changing workstation or phone.

Exercise: tick the checkbox on a test device, sign out, sign back in and confirm the code is no longer requested. Then revoke the device and verify the code is required again.

Tip 5: Prepare for a lost phone right now

If a user loses their phone, the administrator opens their record, finds the 2FA status and clicks "Disable". This action also revokes all trusted devices linked to the account. The user can then reconfigure their 2FA without any stress.

Test this procedure before you need it: a few minutes of practice today will prevent a crisis tomorrow.

Exercise: disable 2FA on a test account from the administrator record, sign in with that account and re-enable 2FA by following the wizard.

Bonus tip: Regularly check who is an administrator of what

Odoo distinguishes several access levels per application: User and Administrator. A colleague who has been promoted or reassigned may still hold administrator rights they no longer use. Our support team can help you review these profiles whenever your organisation changes.

Check the list of administrators in the user settings, remove unnecessary rights and document the decision. Security starts with knowing precisely who can do what in your ERP. To go further on structuring Odoo within your business, visit our Odoo integrator consulting page.

Three common questions about 2FA in Odoo

  • Does 2FA also protect API keys? No: API keys are standalone tokens that do not go through the login screen. Treat them like passwords and revoke them as soon as they are no longer needed.
  • What happens for a portal user? If you choose the "All users" scope, portal users are also subject to the 2FA requirement. They receive the code by email as a fallback until they have set up an authenticator app.
  • Should passwords be changed regularly? Frequent forced renewals often lead to weaker passwords. A long, unique password stored in a manager and changed immediately if there is any suspicion of compromise is far better than automatic rotations that encourage bad habits.

These five steps, plus the bonus tip, can be configured in under an hour for an entire team. The next instalment of our "Security Hygiene" series will explore further areas: access rights, traceability, backups and integration security.

Would you like to review your Odoo security settings before making any changes? Request a free audit: we go through your current configuration and identify priorities with no commitment required.

Frequently asked questions

Does Odoo two-factor authentication also protect API keys?

No. API keys are standalone tokens that do not go through the login screen secured by 2FA. Revoke them as soon as they are no longer in use.

What happens to a portal user if I enforce 2FA?

If you choose the "All users" scope, portal users must also set up 2FA. They receive a code by email as a fallback until they have configured an authenticator app.

Should Odoo passwords be changed every three months?

Overly frequent rotations tend to encourage weaker passwords. Use a long, unique password stored in a password manager and change it immediately if you suspect it has been compromised.

How do I unblock a user who has lost their phone and can no longer sign in?

The administrator opens the user's record and clicks "Disable" next to the 2FA status. This action also revokes all trusted devices. The user can then reconfigure their 2FA normally.

in Blog
ANOR, Cyrille de LAMBERT November 13, 2026
Share this post
Tags
Our blogs

A question about your project? Talk to a consultant.

Book 30 minutes