Skip to main content

Interface components to configure and manage multi factor authentication

Project description

Kleides Multi Factor Authentication

https://img.shields.io/pypi/v/kleides_mfa.svg https://img.shields.io/travis/Urth/kleides_mfa.svg Documentation Status

Interface components to configure and manage multi factor authentication

Install

pip install kleides-mfa

Add kleides_mfa to your INSTALLED_APPS and crispy_forms if you are going to use the default templates:

INSTALLED_APPS = [
    ...
    'kleides_mfa',
    'crispy_forms',
    ...
]

Add kleides_mfa.middleware.KleidesAuthenticationMiddleware to the MIDDLEWARE setting:

MIDDLEWARE = [
    ...
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'kleides_mfa.middleware.KleidesAuthenticationMiddleware',
    ...
]

Include kleides_mfa.urls in your urlpatterns:

urlpatterns = [
    path('', include('kleides_mfa.urls')),
]

History

0.1.7 (2019-11-18)

  • Actually remove django-crispy-forms as a hard dependency.

  • Add function to get the authentication method of a logged in user.

0.1.6 (2019-11-14)

  • Preserve next parameter when redirecting to verification url.

0.1.5 (2019-11-14)

  • Use cloudflare for all external script/style.

  • Remove crispy forms as a hard dependency.

0.1.4 (2019-11-12)

  • Add setting to disable patching of the User models.

  • Patch AnonymousUser to share the properties of the User model.

  • Add configurable redirect for users that login without 2 step authentication.

  • Fix 2 step test login when another user was logged in.

0.1.3 (2019-11-07)

  • Cleanup plugin button/table alignment.

  • Add Yubikey plugin for django-otp-yubikey.

  • Only patch AdminSite when admin is installed.

  • Remove python 2 compatibility classifiers.

0.1.2 (2019-11-06)

  • Improve and fix documentation.

0.1.1 (2019-11-04)

  • Set defaul device name if omitted from POST data.

0.1.0 (2019-11-04)

  • First release on PyPI.

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

kleides_mfa-0.1.7.tar.gz (36.1 kB view hashes)

Uploaded Source

Built Distribution

kleides_mfa-0.1.7-py2.py3-none-any.whl (23.9 kB view hashes)

Uploaded Python 2 Python 3

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