Two-Factor / SSO Enforcer
Enforce 2FA, BYOK SAML/OIDC SSO and login policy (Cyber Essentials)
Strong authentication shouldn't require an Enterprise subscription. This module adds RFC 6238 TOTP two-factor authentication, configurable login and password policy, and a Bring-Your-Own-Key registry for your own SAML / OIDC identity provider — with a full security audit log. Everything is policy, validation and TOTP logic that runs entirely inside your Odoo; transport stays with your IdP.
Key Features
TOTP two-factor auth
Per-user secret, RFC 6238 verification, otpauth provisioning URI and single-use recovery codes — a pure-Python engine (hmac + base32) with no third-party library.
2FA enforcement policies
Require 2FA for chosen security groups, with an enrolment-required gate and a configurable grace period.
Login & password policy
Minimum password length and strength score, password rotation age, max failed attempts → lockout, and an IP allow-list.
BYOK SSO registry
Store your customer IdP's SAML metadata or OIDC discovery document, validate it, and parse it into issuer and endpoint details.
Security audit log
Every enforcement decision — lockouts, 2FA failures, policy violations — is logged with user, login and IP for review.
No third-party calls
The module never calls an external service on your behalf; authentication transport remains with your own identity provider.
Cyber Essentials ready
2FA enforcement, password complexity, account lockout and IP allow-listing map directly to common UK Cyber Essentials controls.
No vendor lock-in
BYOK SSO means you connect your existing identity provider — no Enterprise SSO and no mandatory middleware.
Screenshots
Audit Log
Login Policies
Sso Providers
Why Choose This Module
IT and security administrators, MSPs and businesses pursuing Cyber Essentials or ISO 27001, and any organisation that needs enforced 2FA and SSO on Odoo Community.
Specifications
- Compatible: Odoo 18.0 / 19.0
- License: OPL-1
- Languages: English
- Author: Pokutsoft
- Dependencies: base, mail
- Support: support@pokutsoft.com
Update date: 2026-07-02