Need help with deux?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

149 Stars 44 Forks Other 39 Commits 21 Opened issues


Multifactor Authentication for Django Rest Framework

Services available


Need anything else?

Contributors list

.. image:: :align: center :width: 721 :height: 250

|build-status| |codecov| |license| |wheel| |pyversion| |pyimp|

:Version: 1.2.0 :Web: :Download: :Source: :Keywords: authentication, two-factor, multifactor


Multifactor Authentication provides multifactor authentication integration for the Django Rest Framework. It integrates with Token Authentication built into DRF and OAuth2 provided by django-oauth-toolkit_.

What is Multifactor Authentication?

Multifactor Authentication (MFA) is a security system that requires more than one method of authentication from independent categories of credentials to verify the user's identity for a login or other transaction. (Source: SearchSecurity_)

.. _django-oauth-toolkit: .. _SearchSecurity:

.. _installation:


You can install deux either via the Python Package Index (PyPI) or from source.


version 1.2.0 runs on Python (2.7, 3.4, 3.5).

Installing with pip

To install using

: ::
$ pip install -U deux

.. _installing-from-source:

Downloading and installing from source

Download the latest version of deux from

You can install it by doing the following: ::

$ tar xvfz deux-0.0.0.tar.gz
$ cd deux-0.0.0
$ python build
# python install

The last command must be executed as a privileged user if you are not currently using a virtualenv.

.. _installing-from-git:

Using the development version

With pip ~~~~~~~~

You can install it by doing the following: ::

$ pip install

.. |build-status| image:: :alt: Build status :target:

.. |license| image:: :alt: BSD License :target:

.. |wheel| image:: :alt: Deux can be installed via wheel :target:

.. |pyversion| image:: :alt: Supported Python versions. :target:

.. |pyimp| image:: :alt: Support Python implementations. :target:

.. |codecov| image:: :alt: Code Coverage :target:

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.