django-oidc-provider
OpenID Connect Provider implementation for Django.
Decision gist · record as of 2026-08-14
Yes, with conditions. The package is stable, permissively licensed, and has low install friction. However, its aging maintenance status (325 days since last release) means you should verify that it meets your Django and Python version requirements and check whether the documentation covers your use case. For new OIDC provider implementations in Django, this is a reasonable choice if you accept the slower update cadence.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a Django project; depends on PyJWT and cryptography being installed.
- Low install friction with only two runtime dependencies (PyJWT and cryptography).
- Maintenance status is aging—last release was 325 days ago, though the repository remains active with a recent commit on 2025-12-03 and 451 stars.
License · maintenance · safety
MIT License (permissive) — MIT License (permissive) means you can use, modify, and distribute this package freely in both open-source and commercial projects with minimal restrictions.
last release 2025-09-23 (325 days) · last repo commit 2025-12-03 · 451 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 73,951 downloads/mo, #14,900 on PyPI
Alternatives
Verify before relying
pip install django-oidc-provider
Add to Django INSTALLED_APPS and configure URL endpoints to expose OpenID Connect server capabilities. Requires PyJWT and cryptography for token signing and cryptographic operations.- Whether aging maintenance (325 days since release) indicates planned updates or gradual deprecation.
- Current state of documentation and whether it covers supported Django versions adequately.
- Specific OIDC/OAuth 2.0 flows and grant types supported by this version.
What it is and what it does
django-oidc-provider is a Django application that implements an OpenID Connect and OAuth 2.0 authorization server. It provides the endpoints, token generation, user authentication flows, and profile information endpoints needed to turn a Django application into an identity provider that other applications can authenticate against.
The package handles the server-side logic for issuing tokens, validating credentials, and exposing standard OIDC discovery and user info endpoints. It depends on PyJWT for token signing and cryptography for cryptographic operations. The package is marked as Production/Stable and supports Python 3.8, 3.9, 3.10, 3.11, 3.12, and 3.13, making it suitable for modern Django deployments that need to act as a centralized authentication provider.
Use it for
- Build a centralized identity provider for a suite of internal or third-party applications that need to authenticate users via OpenID Connect.
- Add OAuth 2.0 and OIDC capabilities to an existing Django application to allow external services to authenticate against it.
- Implement single sign-on infrastructure where Django serves as the authorization server for multiple client applications.
- Provide standardized token-based authentication endpoints for mobile apps and SPAs that need to verify user identity.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
The package is stable, permissively licensed, and has low install friction. However, its aging maintenance status (325 days since last release) means you should verify that it meets your Django and Python version requirements and check whether the documentation covers your use case. For new OIDC provider implementations in Django, this is a reasonable choice if you accept the slower update cadence.
Install
django-oidc-provider on PyPI
Before you install
Low install friction with only two runtime dependencies (PyJWT and cryptography). Maintenance status is aging—last release was 325 days ago, though the repository remains active with a recent commit on 2025-12-03 and 451 stars.
Requires a Django project; depends on PyJWT and cryptography being installed.
License in practice
MIT License (permissive) means you can use, modify, and distribute this package freely in both open-source and commercial projects with minimal restrictions.
Quickstart
pip install django-oidc-provider
Add to Django INSTALLED_APPS and configure URL endpoints to expose OpenID Connect server capabilities. Requires PyJWT and cryptography for token signing and cryptographic operations.
Verify before relying
- Whether aging maintenance (325 days since release) indicates planned updates or gradual deprecation.
- Current state of documentation and whether it covers supported Django versions adequately.
- Specific OIDC/OAuth 2.0 flows and grant types supported by this version.
Package facts
| License | MIT License permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesPyJWTcryptography |
| Maintenance | Aging 325 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 73,951 / month, #14,900 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Internet :: WWW/HTTPTopic :: Internet :: WWW/HTTP :: Dynamic Content |
Evidence: django_oidc_provider-0.9.0-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “oauth 2.0 server django”
- django-oidc-providerProvides OpenID Connect and OAuth 2.0 server endpoints,…
- AuthlibAuthlib provides a complete implementation of OAuth 1.0, OAuth 2.0,…
- django-google-ssoAdds Google OAuth 2.0 authentication to Django projects with a…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also flask-oidc · mozilla-django-oidc · oidc-provider-mock · oic · pyop · django-oauth-toolkit · intuit-oauth · django-scim2 · oauthenticator · openfga-sdk