djangosaml2 1.9.3


pysaml2 integration for Django

pysaml2 integration for Django

Stars: 247, Watchers: 247, Forks: 142, Open Issues: 30

The IdentityPython/djangosaml2 repo was created 8 years ago and the last code push was 1 weeks ago.
The project is popular with 247 github stars!

How to Install djangosaml2

You can install djangosaml2 using pip

pip install djangosaml2

or add it to a project with poetry

poetry add djangosaml2

Package Details

Yaco Sistemas and independent contributors
Apache 2.0
GitHub Repo:


  • Internet/WWW/HTTP
  • Internet/WWW/HTTP/WSGI
  • Security
  • Software Development/Libraries/Application Frameworks
No  djangosaml2  pypi packages just yet.


A list of common djangosaml2 errors.

Code Examples

Here are some djangosaml2 code examples and snippets.

GitHub Issues

The djangosaml2 package has 30 open issues on GitHub

  • Include Extensions in AuthnRequest
  • Logout concurrent saml sessions
  • [Question] Can I verify the user input email and SAML response email in ACS?

See more issues on GitHub

Related Packages & Articles

django-saml2-auth 2.2.1

Django SAML2 Authentication Made Easy. Easily integrate with SAML2 SSO identity providers like Okta

pysaml2 7.5.0

PySAML2 is a Python library that provides a complete implementation of the SAML Version 2 standard. It is designed to assist developers in building either a SAML2 Service Provider or an Identity Provider. The library is versatile and can be used in a WSGI environment, with extensions available for integration with other frameworks. PySAML2 relies on the xmlsec binary, which is readily available in most Linux distributions and can be installed on macOS through Homebrew. The library is actively maintained by the IdentityPython community, which provides a space for developers to discuss and contribute to the development of identity-related Python tools.