All Projects β†’ MicroPyramid β†’ Django Mfa

MicroPyramid / Django Mfa

Licence: mit
Django-mfa (Multi Factor Authentication) is a simple package to add extra layer of security to your django web application. It gives web app a randomly changing password as an extra protection and supports u2f too

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Django Mfa

aws-missing-tools
Random tools I've written to make life easier using AWS, namely aws-choose-profile and aws-mfa-login
Stars: ✭ 46 (-66.91%)
Mutual labels:  mfa, 2fa
mfaws
πŸ”’ AWS multi-factor authentication for the CLI
Stars: ✭ 38 (-72.66%)
Mutual labels:  mfa, 2fa
shibboleth-mfa-u2f-auth
U2F multifactor authentication plugin for Shibboleth IdPv3
Stars: ✭ 25 (-82.01%)
Mutual labels:  mfa, 2fa
SimpleTOTP
A highly configurable yet simple to use TOTP based two-factor authentication processing module for SimpleSAMLphp.
Stars: ✭ 16 (-88.49%)
Mutual labels:  mfa, 2fa
Privacyidea
πŸ” multi factor authentication system (2FA, MFA, OTP Server)
Stars: ✭ 1,027 (+638.85%)
Mutual labels:  2fa, mfa
a12n-server
A ready-to-launch User and Authentication system for those that don't want to build it
Stars: ✭ 324 (+133.09%)
Mutual labels:  mfa, 2fa
twothy
Two factor authenticator for CLI
Stars: ✭ 39 (-71.94%)
Mutual labels:  mfa, 2fa
pyotp
Python One-Time Password Library
Stars: ✭ 1,930 (+1288.49%)
Mutual labels:  mfa, 2fa
Authelia
The Single Sign-On Multi-Factor portal for web apps
Stars: ✭ 11,094 (+7881.29%)
Mutual labels:  2fa, mfa
Aws Mfa
Manage AWS MFA Security Credentials
Stars: ✭ 606 (+335.97%)
Mutual labels:  2fa, mfa
Django Trench
django-trench provides a set of REST API endpoints to supplement django-rest-framework with multi-factor authentication (MFA, 2FA). It supports both standard built-in authentication methods, as well as JWT (JSON Web Token).
Stars: ✭ 123 (-11.51%)
Mutual labels:  django, 2fa
Django Mfa2
A Django app that handles MFA, it supports TOTP, U2F, FIDO2 U2F (Webauthn), Email Token and Trusted Devices
Stars: ✭ 88 (-36.69%)
Mutual labels:  django, mfa
One Time
One Time Password (TOTP and HOTP) library for Clojure. TOTP/HOTP is widely used for Two Factor / Multi Factor Authentication.
Stars: ✭ 129 (-7.19%)
Mutual labels:  2fa, mfa
Django Dersleri
YouTube Django Dersleri için proje kaynak kodu
Stars: ✭ 135 (-2.88%)
Mutual labels:  django
Cli
🧰 A zero trust swiss army knife for working with X509, OAuth, JWT, OATH OTP, etc.
Stars: ✭ 2,151 (+1447.48%)
Mutual labels:  mfa
Saleor
A modular, high performance, headless e-commerce platform built with Python, GraphQL, Django, and React.
Stars: ✭ 14,720 (+10489.93%)
Mutual labels:  django
Django Business Logic
Visual DSL framework for django
Stars: ✭ 134 (-3.6%)
Mutual labels:  django
Django Scopes
Safely separate multiple tenants in a Django database
Stars: ✭ 138 (-0.72%)
Mutual labels:  django
Cosmos Search
🌱 The next generation unbiased real-time privacy and user focused code search engine for everyone; Join us at https://discourse.opengenus.org/
Stars: ✭ 137 (-1.44%)
Mutual labels:  django
Socialrelations web
η€Ύε·₯εΊ“ζŸ₯诒系统
Stars: ✭ 134 (-3.6%)
Mutual labels:  django

django-mfa

.. image:: https://readthedocs.org/projects/django-mfa/badge/?version=latest :target: http://django-mfa.readthedocs.io/en/latest/ :alt: Documentation Status

.. image:: https://travis-ci.org/MicroPyramid/django-mfa.svg?branch=master :target: https://travis-ci.org/MicroPyramid/django-mfa

.. image:: https://img.shields.io/pypi/v/django-mfa.svg :target: https://pypi.python.org/pypi/django-mfa :alt: Latest Release

.. image:: https://coveralls.io/repos/github/MicroPyramid/django-mfa/badge.svg?branch=master :target: https://coveralls.io/github/MicroPyramid/django-mfa?branch=master

.. image:: https://landscape.io/github/MicroPyramid/django-mfa/master/landscape.svg?style=flat :target: https://landscape.io/github/MicroPyramid/django-mfa/master :alt: Code Health

.. image:: https://img.shields.io/github/license/micropyramid/django-mfa.svg :target: https://pypi.python.org/pypi/django-mfa/

Django-mfa(Multi-factor Authentication) is a simple django package to add extra layer of security to your web application. Django-mfa is providing easiest integration to enable Multi factor authentication to your django applications. Inspired by the user experience of Google's Authentication, django-mfa allows users to authenticate through text message(SMS) or by using token generator app like google authenticator.

We welcome your feedback on this package. If you run into problems, please raise an issue or contribute to the project by forking the repository and sending some pull requests.

This Package is compatible with Django versions >=1.10 (including at least Django 2.0.7) Documentation is available at readthedocs(http://django-mfa.readthedocs.io/en/latest/)

Quick start

Installation


The Git repository can be cloned with this command::

    git clone https://github.com/MicroPyramid/django-mfa

The ``django_mfa`` package, included in the distribution, should be
placed on the ``PYTHONPATH``.

Otherwise you can just ``easy_install -Z django-mfa``
or ``pip install django-mfa``.

Settings
~~~~~~~~

1. Add app name in settings.py::

    INSTALLED_APPS = [
       '..................',
       'django_mfa',
       '..................'
    ]

2. Add 'django_mfa.middleware.MfaMiddleware' to your project middlewares::

    MIDDLEWARE = [
       '....................................',
       'django_mfa.middleware.MfaMiddleware',
       '....................................',
    ]

3. Optional issuer name.  This name will be shown in the Authenticator App along with the username

   MFA_ISSUER_NAME = "Cool Django App"

4. Optionally enable remember-my-browser.  If enabled, the browser will be trusted for specified number of days after the user enters the code once::

    MFA_REMEMBER_MY_BROWSER = True
    MFA_REMEMBER_DAYS = 90

Urls
~~~~

Add the following to your root urls.py file.

.. code:: django

    urlpatterns = [
        ...

        url(r'^settings/', include('django_mfa.urls')),
    ]


Done. With these settings you have now, you will get the MFA features.

You can try it by hosting on your own or deploy to Heroku with a button click.

.. image:: https://www.herokucdn.com/deploy/button.svg
   :target: https://heroku.com/deploy?template=https://github.com/MicroPyramid/django-mfa.git

Visit our Django web development page `Here`_

We welcome your feedback and support, raise `github ticket`_ if you want to report a bug. Need new features? `Contact us here`_

.. _contact us here: https://micropyramid.com/contact-us/
.. _Here: https://micropyramid.com/django-development-services/
.. _github ticket: https://github.com/MicroPyramid/django-mfa/issues

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].