$npx skillfedfor your agent

mozilla-django-oidc

A lightweight authentication and access management library for integration with OpenID Connect enabled authentication services.

With conditionsPyPI WWW/HTTPReleased Dec 20251.1M downloads / moMPL-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — mozilla_django_oidc-5.0.2-py3-none-any.whl
v5.0.2 · released 2025-12-19 · Python >=3.10 · 4 runtime deps: Django, pyjwt, requests, cryptography

Yes, with conditions. The package is production-stable, widely used (1.1M monthly downloads), audited by Mozilla InfoSec, and has no known vulnerabilities. However, maintenance is aging (238 days since last release); verify that Django 5.2 compatibility is current for your version before adopting. If you need OIDC authentication in Django and can accept the MPL-2.0 copyleft license, this is a solid choice.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Django 4.2 or later and Python 3.10 or later; OIDC provider endpoint must be configured in Django settings.
  • Low install friction with a pure-Python wheel distribution.
  • Maintenance status is aging—last release was 238 days ago—but the repository remains active with a recent commit on 2026-01-07 and no archived status.

License · maintenance · safety

MPL-2.0 (copyleft) — Licensed under MPL-2.0 (copyleft). You must disclose source code modifications and distribute under the same license if you modify and redistribute the package, but can use it in proprietary applications without distributing the library itself.

last release 2025-12-19 (238 days) · last repo commit 2026-01-07 · 553 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,143,073 downloads/mo, #4,303 on PyPI

Verify before relying

pip install mozilla-django-oidc

from mozilla_django_oidc.auth import OIDCAuthenticationBackend

# Add to Django AUTHENTICATION_BACKENDS
AUTHENTICATION_BACKENDS = [
    'mozilla_django_oidc.auth.OIDCAuthenticationBackend',
]
  • Whether the package supports OIDC implicit flow or only authorization code flow as stated in design principles.
  • Current compatibility with Django 5.2 given the aging maintenance status and 238-day release gap.
  • Whether custom backend overrides are documented with examples for common use cases.
Same gist for agents: .md · .json

What it is and what it does

mozilla-django-oidc is a lightweight Django authentication backend that connects your application to OpenID Connect identity providers. It handles the OIDC authorization code flow to authenticate users against external identity services, storing minimal authentication artifacts in your Django session. The library is designed around simplicity and security: it supports custom authentication backend overrides for site-specific logic, has been audited by Mozilla InfoSec, and targets modern Django versions (4.2 through 5.2) with Python 3.10+.

The package depends on Django, pyjwt, requests, and cryptography to manage JWT token validation, HTTP communication with the OIDC provider, and cryptographic operations. It is primarily used to offload user authentication to a centralized identity provider—useful for single sign-on scenarios, federated authentication, or integration with Mozilla's own authentication infrastructure.

Use it for

  • Integrate a Django application with a corporate or institutional OpenID Connect provider for centralized user authentication.
  • Implement single sign-on (SSO) across multiple Django applications using a shared OIDC identity provider.
  • Delegate user authentication to an external identity service while maintaining custom authorization logic in Django.
  • Add Mozilla-specific authentication and authorization features to a Django application.
  • Build a multi-tenant Django application where each tenant connects to its own OIDC provider.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, with conditions.

The package is production-stable, widely used (1.1M monthly downloads), audited by Mozilla InfoSec, and has no known vulnerabilities. However, maintenance is aging (238 days since last release); verify that Django 5.2 compatibility is current for your version before adopting. If you need OIDC authentication in Django and can accept the MPL-2.0 copyleft license, this is a solid choice.

Install

mozilla-django-oidc on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Maintenance status is aging—last release was 238 days ago—but the repository remains active with a recent commit on 2026-01-07 and no archived status.

Requires Django 4.2 or later and Python 3.10 or later; OIDC provider endpoint must be configured in Django settings.

License in practice

Licensed under MPL-2.0 (copyleft). You must disclose source code modifications and distribute under the same license if you modify and redistribute the package, but can use it in proprietary applications without distributing the library itself.

Quickstart

pip install mozilla-django-oidc

from mozilla_django_oidc.auth import OIDCAuthenticationBackend

# Add to Django AUTHENTICATION_BACKENDS
AUTHENTICATION_BACKENDS = [
    'mozilla_django_oidc.auth.OIDCAuthenticationBackend',
]

Verify before relying

  • Whether the package supports OIDC implicit flow or only authorization code flow as stated in design principles.
  • Current compatibility with Django 5.2 given the aging maintenance status and 238-day release gap.
  • Whether custom backend overrides are documented with examples for common use cases.

Package facts

LicenseMPL-2.0 copyleft
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
Djangopyjwtrequestscryptography
MaintenanceAging 238 days since the last release
Last repo commit
First released
Downloads1,143,073 / month, #4,303 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableFramework :: DjangoFramework :: Django :: 4.2Framework :: Django :: 5.0Framework :: Django :: 5.1Framework :: Django :: 5.2Intended Audience :: DevelopersNatural Language :: EnglishOperating System :: MacOSOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Evidence: mozilla_django_oidc-5.0.2-py3-none-any.whl

Tags

Capabilities
django openid connect authenticationoidc django integrationdjango sso authenticationopenid connect provider djangodjango oauth2 oidcdjango identity provideroidc authorization code flow
Topics
authenticationoidcsso
PyPI keywords
mozilla-django-oidc

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 › “django openid connect authentication”

Give your agent the search over MCP, or paste the wish link into any chat.

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

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.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

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.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

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.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

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.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

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.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also django-oidc-provider · flask-oidc · pyop · oidc-provider-mock · oic · dash-auth · Authlib · PyLTI1p3 · python-keycloak · stups-zign