# jpadilla/django-rest-framework-jwt

JSON Web Token Authentication support for Django REST Framework

Repository: https://github.com/jpadilla/django-rest-framework-jwt
Canonical: https://ross.abutalabs.com/products/django-rest-framework-jwt
Homepage: http://jpadilla.github.io/django-rest-framework-jwt/
Language: Python
License: MIT
License Family: permissive
Topics: python, django, django-rest-framework, jwt
Archived: true
Last push: 2022-12-06T16:30:54+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4612, "days_push": 1366, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3166, forks 645 (observed 2026-08-28T04:07:46.704415+00:00)

## What it is
A Python package that adds JSON Web Token (JWT) authentication to Django REST Framework APIs. It provides token obtain, refresh, and verify endpoints plus a JSONWebTokenAuthentication class for DRF's authentication classes.

## Use cases
- add jwt authentication to a django rest framework api
- issue and verify auth tokens for a drf backend
- token-based login endpoint for a django api
- refresh expired jwt tokens in django
- replace session auth with jwt for a mobile or spa client

## When to choose
- you are maintaining a legacy Django project pinned to old Django/DRF versions that already uses this package

## When to avoid
- starting a new project - the project is officially unmaintained
- you use modern Django or Django REST Framework versions
- you need actively supported JWT auth - use simplejwt (djangorestframework-simplejwt) instead

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

## Member repositories
- jpadilla/django-rest-framework-jwt (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:46.704415+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:45:32.004348+00:00, confidence not recorded.
  - readme: https://github.com/jpadilla/django-rest-framework-jwt (fetched 2026-08-28T04:07:46.704415+00:00, sha 02bb36bafe1b)
  - homepage: http://jpadilla.github.io/django-rest-framework-jwt/ (fetched 2026-08-29T09:39:48.638290+00:00, sha 7be96d3c6eb9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
