Skip to main content

Reusable Django app for TOTP and WebAuthn two-factor authentication

Project description

Django Lokdown

A reusable Django package for Two-Factor Authentication (TOTP, WebAuthn passkeys), JWT APIs, optional user API keys, admin 2FA, and optional social login (OAuth).

Full documentation: lokdown/README.md

Detailed authentication workflows: lokdown/docs/AUTHENTICATION.md

Quick install

pip install django-lokdown
INSTALLED_APPS = ["lokdown", ...]
# urls.py: path("api/", include("lokdown.urls"))

Local development

pip install -e ".[dev]"
cd example && python manage.py migrate && python manage.py runserver

See lokdown/README.md — Local development.

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

django_lokdown-1.1.0.tar.gz (63.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_lokdown-1.1.0-py3-none-any.whl (88.5 kB view details)

Uploaded Python 3

File details

Details for the file django_lokdown-1.1.0.tar.gz.

File metadata

  • Download URL: django_lokdown-1.1.0.tar.gz
  • Upload date:
  • Size: 63.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for django_lokdown-1.1.0.tar.gz
Algorithm Hash digest
SHA256 9fa7701f53317c278e10ba779dc2f8a451433c88562b850c04ffe8043aa54793
MD5 c0fd6cfaca0527c4e1308645f8c4dd21
BLAKE2b-256 064d568841483492ebc97a321c92a1b8948da39ed936567c8f9fdcd6d434158f

See more details on using hashes here.

File details

Details for the file django_lokdown-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: django_lokdown-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 88.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for django_lokdown-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f26af91f37c567b04aa54473369519c8ec026fe650e0155a91e87171df78c8e6
MD5 353c128c75c554a425fe82ae403ea7fc
BLAKE2b-256 e0eb8a3e9fa3539aebb84aef8b73ae79f7ccf81fd0f6b070703e7eaf71e8fc4b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page