# jazzband/djangorestframework-simplejwt

A JSON Web Token authentication plugin for the Django REST Framework.

Repository: https://github.com/jazzband/djangorestframework-simplejwt
Canonical: https://ross.abutalabs.com/products/djangorestframework-simplejwt
Homepage: https://django-rest-framework-simplejwt.readthedocs.io/
Language: Python
License: MIT
License Family: permissive
Last push: 2026-08-24T17:41:39+00:00

## Health v2 (maintenance only)
Score: 70/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 16, longevity 100
- inputs: {"age_days": 3407, "days_push": 9, "days_rel": 408, "gap_med": 97.0, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4334, forks 707 (observed 2026-08-28T04:08:46.001118+00:00)

## What it is
Simple JWT is a JSON Web Token authentication plugin for the Django REST Framework. It provides token-based authentication for Django REST APIs with minimal configuration.

## Use cases
- add JWT authentication to a Django REST Framework API
- issue and refresh access tokens for a REST API
- secure Django API endpoints with token-based auth
- implement login with JSON Web Tokens in Django
- replace session auth with stateless JWT auth in DRF

## When to choose
- you are building a REST API with Django REST Framework and need JWT auth
- you want a well-maintained, widely used JWT solution for Django
- you need stateless authentication for mobile or SPA clients consuming a Django API

## When to avoid
- your project does not use Django or Django REST Framework
- you need OAuth2 or full identity provider features rather than simple JWT auth
- you prefer session-based authentication for a traditional server-rendered Django app

## Facets
- artifact type: library
- maturity: stable
- function: auth, middleware
- domain: web-development, backend, security, apis
- platform: python
- tags: jwt, django, django-rest-framework, token-authentication, rest-api

## Member repositories
- jazzband/djangorestframework-simplejwt (main) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:46.001118+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-29T18:21:39.183399+00:00, confidence not recorded.
  - readme: https://github.com/jazzband/djangorestframework-simplejwt (fetched 2026-08-28T04:08:46.001118+00:00, sha b304791d0df6)
  - registry_pypi: https://pypi.org/pypi/djangorestframework-simplejwt/json (fetched 2026-08-29T09:11:05.765701+00:00, sha 67f302274059)
- Data as of 2026-08-30T08:39:29.467469+00:00.
