Enforce Two-Factor Authentication
This module forces internal users to configure two-factor authentication (a TOTP authenticator app) before they log in.
Enforcement works like the password expiry flow of password_security: nobody is logged out when the module is installed, but on their next login users are held in a mandatory step and cannot reach the backend until they have enabled an authenticator app.
Members of the Exempt from 2FA enforcement group are never forced. Portal and public users are out of scope at the moment.
Table of contents
Usage
Once installed, any enforced internal user without an authenticator app configured will, on their next login:
Enter their login and password as usual.
Be redirected to a mandatory setup page showing a QR code and secret key.
Scan the code with an authenticator app and enter the generated code.
Be handed over to the standard two-factor step to complete the login.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
ForgeFlow S.L. <contact@forgeflow.com>
Laura Cazorla <laura.cazorla@forgeflow.com>
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
This module is part of the OCA/server-auth project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo_addon_auth_totp_enforce-18.0.1.0.0.3-py3-none-any.whl.
File metadata
- Download URL: odoo_addon_auth_totp_enforce-18.0.1.0.0.3-py3-none-any.whl
- Upload date:
- Size: 30.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53f29ee271faa117e411186bfbc202bd93285a20168ad9c475bb37a3be1bb424
|
|
| MD5 |
3ea6f8eee7bf7b3c105feb05ab358a6c
|
|
| BLAKE2b-256 |
343b58f838ffda9a3ad4d61224cd96b0ba28994c161afe0215ccf34342a06946
|