# sunscrapers/djoser

REST implementation of Django authentication system.

Repository: https://github.com/sunscrapers/djoser
Canonical: https://ross.abutalabs.com/products/djoser
Language: Python
License: MIT
License Family: permissive
Topics: djoser, rest-api, authentication, developer-tools, python
Last push: 2026-08-01T20:17:04+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 95, release rhythm 71, longevity 100
- inputs: {"age_days": 4355, "days_push": 32, "days_rel": 32, "gap_med": 122.0, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2681, forks 466 (observed 2026-08-28T04:07:10.015102+00:00)

## What it is
Djoser is a Python library providing REST endpoints for Django's authentication system via Django REST Framework. It offers views for registration, login, logout, password reset, and account activation, supporting token, JWT, social, and WebAuthn authentication.

## Use cases
- add user registration and login endpoints to a Django REST API
- implement JWT authentication for a Django backend
- set up password reset and account activation flows for a SPA
- add social authentication to a Django REST Framework project
- support WebAuthn/passkey login in Django
- handle authentication with a custom Django user model

## When to choose
- you're building a Django REST Framework API that needs auth endpoints
- you want ready-made registration, login, and password reset views for a single-page app
- you need JWT, token, social, or WebAuthn authentication in Django without writing it yourself

## When to avoid
- your project doesn't use Django and Django REST Framework
- you need highly custom authentication flows that differ greatly from standard registration/login patterns
- you're building a server-rendered Django app using Django's built-in session auth

## Facets
- artifact type: library
- maturity: active
- function: auth, api-framework, middleware
- domain: web-development, backend, security, apis
- platform: python
- tags: django, django-rest-framework, jwt, token-authentication, social-authentication, webauthn, user-registration, password-reset, spa, web-server

## Member repositories
- sunscrapers/djoser (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:10.015102+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:17:55.655421+00:00, confidence not recorded.
  - readme: https://github.com/sunscrapers/djoser (fetched 2026-08-28T04:07:10.015102+00:00, sha 5a64cde9df28)
  - registry_pypi: https://pypi.org/pypi/djoser/json (fetched 2026-08-29T10:00:07.148636+00:00, sha 75286ff28af2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
