Authentification - Disable 2FA if Passkey
This is a glue module, needed to allow module auth_admin_passkey working properly in combination with auth_totp_mail_enforce.
auto_awesome What this module does
AI-generated from the code · Odoo 17.0This glue module makes the "Disable 2FA if Passkey" behaviour work together with the module that enforces two-factor authentication by email. It ensures that when a user logs in with a passkey, the email-based 2FA step is skipped.
This is a small compatibility module that connects two existing authentication modules: one that lets users log in with a passkey (and normally skips two-factor authentication) and one that enforces two-factor authentication by email.
Without this module, the email 2FA enforcement could still ask for a code even after a successful passkey login. With this module installed, Odoo checks whether the current session has been marked to ignore two-factor authentication (which happens after a passkey login) and, if so, returns no two-factor authentication URL. As a result, the user is not redirected to the email 2FA screen.
It does not add menus, buttons, reports, or new fields. It only changes the behaviour of the res.users model by overriding the _mfa_url method. The module is installed automatically when both dependency modules are present, so administrators do not need to install it manually. No business rules, scheduled jobs, or emails are added by this module itself.
Depends on
Text generated by AI (DeepSeek) from reading the Odoo 17.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 17.0
Confirmed on 2026-11-03 in branch 17.0 of OCA/server-auth.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.