Skip to Content
FeaturesBundled ExtensionsUser ManagementAccountsOverview

Accounts App

The Accounts app is the authentication backbone of every Django-CFG project — passwordless login, tokens, social auth, and abuse protection, zero boilerplate.


Full Stack Picture


What’s Included

FeatureDescription
OTP LoginPasswordless email — 6-digit codes, 10-min expiry
JWT TokensAccess + refresh with rotation and blacklist
2FA (TOTP)Google Auth, Authy, any TOTP app
OAuthGitHub social login
Brute-force protection4-layer defense — IP rate limits, per-email throttle, lockout
Email validation5-layer pipeline: syntax → TLD → specials → disposable blocklist → MX
Soft deleteGDPR-safe account archive
Cleanup jobsRQ tasks for expired OTPs and JWT blacklist

Enable

from django_cfg import DjangoConfig, JWTConfig class MyConfig(DjangoConfig): enable_accounts = True jwt = JWTConfig() # secure defaults: 30-min access, 90-day refresh, rotation on

TAGS: accounts, otp, jwt, 2fa, oauth, authentication DEPENDS_ON: [frontend, otp, jwt, two-factor, oauth]

Last updated on