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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e324b68cc27a7c26afc1797803f4f5f85e1dc607e22bb713f7e2c13d03fff63d |
|
MD5 | c2129dc70b630bbc9011fb0da82ca085 |
|
BLAKE2b-256 | a9e5628a6e9fe5b2d70e74ad747f616c13378f6589f95452ae2b32d051317b02 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9875702a2fc017dd898242a67441c1f4d65c0c09b409d3a3798ed9c13c554adf |
|
MD5 | cab224090189e8bafc312c28c280aa25 |
|
BLAKE2b-256 | 0e3d2102c3ba1fa6d0de73d36183c93ede3bf43d558af89220c6c81685b561d7 |