Skip to main content

2 Factor authenication application for Django

Project description

Django 2FA

two factor authentication support for Django

Motivation

There are other good Django 2nd factor authentication libraries out there, however, the higher level libraries do not support e-mail and FIDO hardware keys as a second factor by default. Thus, django-2fa supports FIDO and E-Mail by default and additional authentication methods will be added upon request.

Supported 2nd Factors

  • HOTP via e-mail
  • TOTP via authernicator apps
  • FIDO via hardware tokens

Installation

pip install django-2fa

Configuration

You will need to configure django-2fa to use it in your Django project. Django-2fa works out of the box with minimal configuration, however, you will most likely want to do more configuration such as overriding the HTML templates or using the provided API so that it fits into the style of your project.

See our configuration docs for more detailed information on the process.

Additional Subjects

Shameless Plugs

I built this library originally for the NeutronSync Service. So if you would like to support this project please support the service with a subscription to NeutronSync or a donation to the open source libraries. Django 2FA is included by default in the Neutron Sync Server project.

Project details


Download files

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

Source Distribution

django-2fa-0.9.0.tar.gz (103.2 kB view hashes)

Uploaded Source

Built Distribution

django_2fa-0.9.0-py3-none-any.whl (110.4 kB view hashes)

Uploaded Python 3

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