Skip to content

neutron-sync/django-2fa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django 2FA

two factor authentication support for Django

Motivation

There are other good Django 2nd factor authentication libraries out there, however, some libraries do not support e-mail and FIDO hardware keys as a second factor by default and others aren't really architected that well for different levels of integration. Thus, django-2fa supports FIDO and E-Mail by default and comes with several ways to integrate it such as built in views with templates to override, API integration, and a decorator to add to your existing views.

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.

About

two factor authentication support for Django

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published