Odoo’s portal gives customers, vendors and partners a login of their own. Behind it sit quotations, invoices, delivery addresses, support tickets and sometimes documents you would not want a stranger to read. A portal account with a reused password is an easy target.
What Odoo offers
- Portal users can turn on an authenticator themselves. Odoo’s standard portal 2FA module adds the option to the portal account’s security page, using the same time-based codes as internal users.
- Administrators can enforce it. In Settings, under Permissions, tick Enforce two-factor authentication and choose All users. Odoo’s documentation notes that “All users” applies the setting to portal users as well as employees. On Odoo 17 and 18, the enforcement option appears after installing the 2FA by mail module.
- Users without an authenticator receive a sign-in code by email in versions that use 2FA by mail.
See Odoo two-factor authentication for the step-by-step setup for internal users.
Should you enforce it for every portal user?
Weigh three things:
- What the portal exposes. A portal that only shows public order status is low risk. One that shows contracts, bank details, health or HR data is not.
- Who your portal users are. Business customers usually cope with an authenticator. Consumers on an eCommerce site often do not, and every lock-out becomes a support ticket.
- How you will handle lost phones. Odoo’s documentation says an administrator must deactivate 2FA on an account whose user has lost their authenticator. For thousands of portal users, that needs a written procedure and someone to run it.
A common middle ground: enforce 2FA for employees, encourage it for portal users, and enforce it only where the portal holds sensitive data.
Make the reset process safe
Portal resets are a favourite route for account takeover, because the person asking is outside your company. Before deactivating 2FA:
- Confirm identity through a channel already on file, not the email or chat asking for the reset.
- Check what changed on the account recently, especially email addresses and bank details.
- Log who approved the reset and why.
Where hardware keys fit
Authenticator codes are not phishing-resistant. For internal users with access to finance or administration, use passkeys or hardware security keys. SecureKey 2FA adds FIDO2 security keys for Odoo users, and its Pro edition can require them for all internal users or selected groups.
Related: Odoo admin hardening checklist.