TIP: You can type at any time to perform a new search.
2nd factor authentication via U2F
auth_u2f · OCA/server-auth
Security findings
Migration considerations
u2f_device_form— For a target of Odoo 17.0+: view 'u2f_device_form' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · sourceu2f_device_tree— View 'u2f_device_tree' is defined with a `<tree>` root tag: renamed to `<list>` in Odoo 18.0. migration-view-tree-tag · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/server-auth · module folder · Try on Runboat
- Module version
- 1.0.2
- Category
- Extra Tools
- Folder size
- 0.1 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/server-auth
- Last tracking update
- 2026-10-03 22:39:58
- Authors
- Odoo Community Association (OCA), initOS GmbH, Joren Van Onder
- Maintainers
- Odoo Community Association (OCA), initOS GmbH, Joren Van Onder
- Committers
- Stéphane Bidoul, OCA-git-bot, oca-travis
- Odoo dependencies
- Python dependencies
- u2flib_server
- System dependencies
- None
- Required by
- None
- Description
Code Analysis
Views touched (7)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
assets_backend |
U2F Assets | ir.ui.view | qweb | Inherits web.assets_backend |
assets_frontend |
U2F Assets | ir.ui.view | qweb | Inherits web.assets_frontend |
login |
Register U2F page | ir.ui.view | qweb | New |
u2f_device_form |
u2f.device.form | u2f.device | form | New |
u2f_device_tree |
u2f.device.tree | u2f.device | tree | New |
view_users_form_inherit_auth_u2f |
res.users.form.inherit | res.users | form | Inherits base.view_users_form |
view_users_form_simple_modif_inherit_auth_u2f |
res.users.preferences.form | res.users | form | Inherits base.view_users_form_simple_modif |
HTTP endpoints (2)
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/web/u2f/login |
AuthU2FController.u2f_login |
none | http | ALL | sudo |
| (inherited route override) | U2FLogin.web_client |
inherited | http | ALL |
Models touched (3)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
u2f_device_idsOne2many → u2f.devicestring='U2F devices' args: 'u2f.device', 'user_id'
-
u2f_check_credentials(self, last_challenge, last_response)@api.multi -
u2f_get_registration_challenge(self)@api.model
New fields (4)
-
defaultBooleanhelp='Device used during login.'readonly=True -
jsonCharhelp='Technical data returned by u2flib or the browser'required=Truestring='Scan' -
nameCharrequired=True -
user_idMany2one → res.usersdefault=<expr>readonly=Truerequired=True args: 'res.users'
-
action_make_default(self)@api.multi -
create(self, vals)@api.model
Loading…