django-oauth/django-oauth-toolkit
OAuth2 goodies for the Djangonauts! observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 99
- Release rhythm 86
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 47.5
- age_days: 4853
- days_rel: 12
- days_push: 10
- n_releases_24m: 7
Adoption not part of the score
3333 stars · 856 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Django OAuth Toolkit is an OAuth 2.0 authorization server and resource server library for Django projects, built on OAuthLib and RFC 6749 compliant. It provides endpoints, models, and logic to issue and manage OAuth2 tokens within an existing Django app, including MCP authorization support with PKCE and discovery metadata.
Use cases
- add oauth2 authentication to a django app
- protect a django rest framework api with oauth2 tokens
- run an oauth2 authorization server without a separate service
- issue and manage oauth2 access tokens in django
- support mcp authorization with pkce in django
- implement oidc login for a django project
When to choose
- you already run Django and want OAuth2 server capabilities in-process
- you need RFC-compliant OAuth2 or OIDC with Django REST Framework integration
- you need MCP-compliant authorization for AI agent clients
When to avoid
- you use Flask, FastAPI, or a non-Django stack
- you want a standalone identity provider service like Keycloak
- you only need simple session-based login without OAuth2
Facets
library · maturity active
auth authorization middleware security web-development backend apis python django oauth2 oauthlib authorization-server oidc pkce mcp resource-server django-rest-framework web-server
2 sources
- readme: https://github.com/django-oauth/django-oauth-toolkit · fetched 2026-08-28 · 682d7c03726b
- registry_pypi: https://pypi.org/pypi/django-oauth-toolkit/json · fetched 2026-08-29 · fde8eff75eac
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| django-oauth/django-oauth-toolkit | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="django-oauth/django-oauth-toolkit")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem