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.
Metadata
Release files for django-2fa 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-2fa-0.9.0.tar.gz | 103.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_2fa-0.9.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 213.5 kB
Release files / django-2fa-0.9.0.tar.gz
| Download URL | django-2fa-0.9.0.tar.gz |
|---|---|
| Size | 103.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e324b68cc27a7c26afc1797803f4f5f85e1dc607e22bb713f7e2c13d03fff63d
|
|
BLAKE2b-256 checksum How to use checksums |
a9e5628a6e9fe5b2d70e74ad747f616c13378f6589f95452ae2b32d051317b02
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / django_2fa-0.9.0-py3-none-any.whl
| Download URL | django_2fa-0.9.0-py3-none-any.whl |
|---|---|
| Size | 110.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9875702a2fc017dd898242a67441c1f4d65c0c09b409d3a3798ed9c13c554adf
|
|
BLAKE2b-256 checksum How to use checksums |
0e3d2102c3ba1fa6d0de73d36183c93ede3bf43d558af89220c6c81685b561d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|