Skip to main content

2nd factor authentication via U2F devices

Project description

Beta License: LGPL-3 OCA/server-auth Translate me on Weblate Try me on Runboat

This module adds support for FIDO U2F token based authentication. It allows users to enable/disable MFA and manage authentication apps/devices via the “Change My Preferences” view and an associated wizard. The server must run HTTPS to work properly.

After logging in, users with registered U2F devices are taken to a second screen where they have authenticate using device.

Table of contents


  1. Install the U2Flib library using pip: pip install python-u2flib-server

  2. Follow the standard module install process


After logging in, set up a U2F device through the user preferences. Click on ‘Manage 2-step verification’ and create a new device by filling a name and scanning the device.

Try me on Runbot

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.



  • Joren Van Onder

  • initOS GmbH


This module is maintained by the OCA.

Odoo Community Association

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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page