{"repo":"iMerica/dj-rest-auth","free":true,"listed":false,"github":"https://github.com/iMerica/dj-rest-auth","clone":"git clone https://github.com/iMerica/dj-rest-auth.git","description":"Authentication for Django Rest Framework","language":"Python","stars":1866,"topics":["django","django-rest-framework","rest-api","python","jwt","authentication"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"dj-rest-auth Secure drop-in authentication endpoints for Django REST Framework. Works seamlessly with SPAs and mobile apps. Documentation PyPI Features - Login, logout, password change, password reset - User registration with email verification - Built-in MFA/2FA support (TOTP + recovery codes) - Passkey / WebAuthn passwordless authentication - JWT authentication with HTTP-only cookies - Social auth (Google, GitHub, Facebook) via django-allauth - Fully customizable serializers Architecture Quick Start You now have: Endpoint Method Description ---------- -------- ------------- /auth/login/ POST Obtain auth token /auth/logout/ POST Revoke token /auth/user/ GET, PUT User details /auth/password/change/ POST Change password /auth/password/reset/ POST Request reset email /auth/password/reset/confirm/ POST Confirm reset JWT with HTTP-only Cookies Registration MFA / 2FA MFA ships as an opt-in sub-package ( dj rest auth.mfa ) with: - TOTP login challenge flow - Recovery codes - Security-focused defaults (short-lived MFA tokens, activation confirmation) See the guide for setup and endpoint details: MFA Guide Passkeys (WebAuthn) Passkeys provide passwordless authentication using the FIDO2/WebAuthn standard: - Touch ID, Windows Hello, hardware security keys - Two-step challenge-response registration and login - Credential management (list, rename, delete) See the guide for setup and endpoint details: Passkeys Guide Documentation Full documentation at dj-rest-auth.readthedocs.io - Install","default_branch":null,"files":null,"tree":[],"storefront":"/r/iMerica","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/iMerica/dj-rest-auth/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}