grafana-django-saml2-auth
Deprecated compatibility package. Install django-saml2-auth-community instead.
Decision gist · record as of 2026-08-14
No—install django-saml2-auth-community directly instead. This package is a deprecated compatibility shim; it exists only to redirect old references to the maintained fork. Using it adds an unnecessary layer of indirection. If you have existing code referencing grafana-django-saml2-auth, the shim will work, but new projects and migrations should use django-saml2-auth-community.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires xmlsec1 system library; install via package manager (apt-get install xmlsec1 on Debian/Ubuntu, yum install xmlsec1 on RPM-based systems, or brew install xmlsec1 on macOS).
- Low install friction; the package is a pure Python wheel with a single runtime dependency.
- Maintenance is active, with the last commit on 2026-08-06 and a release on 2026-04-11.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions. No notable licensing constraints for typical deployment.
last release 2026-04-11 (125 days) · last repo commit 2026-08-06 · 9 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 126,841 downloads/mo, #11,763 on PyPI
Alternatives
Verify before relying
pip install grafana-django-saml2-auth
import django_saml2_auth.views
# In urls.py:
re_path(r'^sso/', include('django_saml2_auth.urls'))- Whether the compatibility shim maintains full API parity with the original grafana-django-saml2-auth package.
- Performance or behavioral differences between the shim and direct use of django-saml2-auth-community.
- Whether xmlsec1 system dependency is automatically installed or requires manual setup.
What it is and what it does
This package is a deprecated compatibility layer that was originally maintained by Grafana but is now a redirect to django-saml2-auth-community, the actively maintained fork. It integrates SAML2 authentication into Django applications, supporting both IdP-initiated and SP-initiated single sign-on flows. The underlying library handles SAML2 assertion validation, user creation, and attribute mapping according to your configuration.
The package depends on django-saml2-auth-community for all actual functionality. Installing grafana-django-saml2-auth will pull in that community package, so you get the same SAML2 authentication capabilities but through the maintained line. The only reason to use this shim is if you have existing code or lock files that reference the old package name; new projects should install django-saml2-auth-community directly.
Use it for
- Migrating from the original grafana-django-saml2-auth to the community fork without changing import statements.
- Updating lock files or requirements.txt that still reference grafana-django-saml2-auth without breaking existing deployments.
- Adding SAML2 SSO to a Django app that needs to work with Okta or other SAML2 identity providers.
- Enabling both IdP-initiated and SP-initiated authentication flows in a Django application.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No—install django-saml2-auth-community directly instead.
This package is a deprecated compatibility shim; it exists only to redirect old references to the maintained fork. Using it adds an unnecessary layer of indirection. If you have existing code referencing grafana-django-saml2-auth, the shim will work, but new projects and migrations should use django-saml2-auth-community.
Install
grafana-django-saml2-auth on PyPI
Before you install
Low install friction; the package is a pure Python wheel with a single runtime dependency. Maintenance is active, with the last commit on 2026-08-06 and a release on 2026-04-11. However, the package itself is deprecated—it exists only as a compatibility shim redirecting users to django-saml2-auth-community.
Requires xmlsec1 system library; install via package manager (apt-get install xmlsec1 on Debian/Ubuntu, yum install xmlsec1 on RPM-based systems, or brew install xmlsec1 on macOS).
License in practice
Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions. No notable licensing constraints for typical deployment.
Quickstart
pip install grafana-django-saml2-auth
import django_saml2_auth.views
# In urls.py:
re_path(r'^sso/', include('django_saml2_auth.urls'))
Verify before relying
- Whether the compatibility shim maintains full API parity with the original grafana-django-saml2-auth package.
- Performance or behavioral differences between the shim and direct use of django-saml2-auth-community.
- Whether xmlsec1 system dependency is automatically installed or requires manual setup.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagedjango-saml2-auth-community |
| Maintenance | Actively maintained 125 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 126,841 / month, #11,763 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 7 - InactiveProgramming Language :: Python :: 3 |
Evidence: grafana_django_saml2_auth-3.21.0-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 › “django saml2 auth”
- grafana-django-saml2-authA compatibility shim that redirects to django-saml2-auth-community,…
- djangosaml2Integrates SAML2 single sign-on authentication into Django…
- djangosaml2idp2Implements the SAML 2.0 Identity Provider side for Django…
Give your agent the search over MCP, or paste the wish link into any chat.
More Dynamic Content packages
MarkupSafe provides a text object that escapes special characters so untrusted strings can be safely embedded in HTML and XML without injection attacks.
Jinja2 is a templating engine that renders dynamic content by combining templates with Python-like syntax and data, supporting template inheritance, macros, autoescaping, and sandboxed execution.
Soupsieve is a CSS selector library designed to work with Beautiful Soup 4 to select, match, and filter HTML and XML elements using modern CSS selectors from CSS level 1 through CSS level 4 specifications.
Install it if you use Beautiful Soup for HTML or XML parsing and want modern CSS selector support.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
Flask is a lightweight WSGI web application framework for building web applications in Python, from simple single-page sites to complex multi-route applications.
Mako compiles Python-embedded templates into Python modules for fast rendering, supporting layout inheritance, custom functions, and direct Python expressions within template syntax.
See also djangosaml2idp2 · djangosaml2 · pysaml2 · python3-saml · django-auth-adfs · django-google-sso · yawsso · social-auth-app-django · django-allauth · types-pysaml2