django-two-factor-auth (Django Two-Factor Authentication)

LSE toolsLSE toolsdjango-two-factor-auth (142)django-two-factor-auth (142)

Tool and Usage

Project details
Programming languagePython
AuthorBouke Haarsma
Latest release1.12.1 []

Project health

This score is calculated by different factors, like project age, last release date, etc.

How it works

This package can add a second authentication factor to the login process of Django applications. It uses a text message (via SMS), token generator app like Google Authenticator, or the YubiKey hardware token generator.

Usage and audience

django-two-factor-auth is commonly used for application security. Target users for this tool are developers.

Author and Maintainers

Django-two-factor-auth is under development by Bouke Haarsma.


Supported operating systems

Django-two-factor-auth is known to work on Linux.


Several dependencies are required to use django-two-factor-auth.

  • django
  • django-formtools
  • django_otp
  • django-phonenumber-field
  • qrcode

django-two-factor-auth alternatives

Similar tools to django-two-factor-auth:



Django-sudo provides a view decorator for Django web applications. It mimics the behavior of sudo on Linux systems and requires reauthentication.



Eapmd5pass is a password attack tool for EAP-MD5 authentication traffic. It uses an offline attack, meaning it deals with captured network data.



Fail2Ban is an intrusion prevention software framework that protects computer servers from brute-force attacks

All django-two-factor-auth alternatives

This tool page was updated at . Found an improvement? Help the community by submitting an update.

Related tool information


This tool is categorized as a authentication library.