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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file django-2fa-0.9.0.tar.gz.

File metadata

  • Download URL: django-2fa-0.9.0.tar.gz
  • Upload date:
  • Size: 103.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2

File hashes

Hashes for django-2fa-0.9.0.tar.gz
Algorithm Hash digest
SHA256 e324b68cc27a7c26afc1797803f4f5f85e1dc607e22bb713f7e2c13d03fff63d
MD5 c2129dc70b630bbc9011fb0da82ca085
BLAKE2b-256 a9e5628a6e9fe5b2d70e74ad747f616c13378f6589f95452ae2b32d051317b02

See more details on using hashes here.

File details

Details for the file django_2fa-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: django_2fa-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 110.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2

File hashes

Hashes for django_2fa-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9875702a2fc017dd898242a67441c1f4d65c0c09b409d3a3798ed9c13c554adf
MD5 cab224090189e8bafc312c28c280aa25
BLAKE2b-256 0e3d2102c3ba1fa6d0de73d36183c93ede3bf43d558af89220c6c81685b561d7

See more details on using hashes here.

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