jazzband/django-two-factor-auth
Complete Two-Factor Authentication for Django providing the easiest integration into most Django projects. observed · 2026-08-28
Health v2 · maintenance only
82/100
- Activity 99
- Release rhythm 49
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 5104
- days_rel: 340
- days_push: 9
- n_releases_24m: 4
Adoption not part of the score
1878 stars · 458 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Django package providing complete two-factor authentication built on top of django-otp and Django's built-in auth framework. It supports token generator apps, SMS, phone calls, and YubiKey hardware tokens with easy integration into existing Django projects.
Use cases
- add two-factor authentication to a django app
- enable totp login with google authenticator in django
- send 2fa codes via sms in django
- support yubikey hardware tokens for django login
- secure django admin with a second auth factor
When to choose
- you run a Django project and want battle-tested 2FA with minimal integration effort
- you need multiple second-factor methods (TOTP, SMS, call, YubiKey)
- you want a package maintained under the Jazzband organization with regular releases
When to avoid
- you use Flask, FastAPI, or a non-Django Python framework
- you need 2FA for a frontend-only SPA without a Django backend
- you need passkey/WebAuthn-first flows not covered by django-otp
Facets
library · maturity active
auth security security web-development backend python django two-factor-authentication otp totp sms yubikey django-otp web-server
2 sources
- readme: https://github.com/jazzband/django-two-factor-auth · fetched 2026-08-28 · 624ac86fa4fb
- registry_pypi: https://pypi.org/pypi/django-two-factor-auth/json · fetched 2026-08-29 · 5955ca132d39
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jazzband/django-two-factor-auth | main | 82 |
For agents
markdown · JSON · MCP: product_card(name="jazzband/django-two-factor-auth")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem