Skip to main content

pysaml2 integration for Django

Project description


CI build pypi Downloads Documentation Status License Python versions Django versions

A Django application that builds a Fully Compliant SAML2 Service Provider on top of PySAML2 library. Djangosaml2 protects your project with a SAML2 SSO Authentication.


  • HTTP-POST SSO Binding
  • Discovery Service
  • embedded Wayf page with customizable html template
  • IdP Hinting
  • IdP Scoping
  • Samesite cookie

Please consult the official Documentation of djangosaml2 to get started.


Please open Issues to start debate regarding the requested features, or the patch that you would apply. We do not use a strict submission format, please try to be more concise as possible.

The Pull Request MUST be done on the dev branch, please don't push code directly on the master branch.

Special thanks

This is a community-driven project, born as a fork and maintained by different authors at different times, such as:

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

djangosaml2-1.9.3.tar.gz (57.1 kB view hashes)

Uploaded Source

Built Distribution

djangosaml2-1.9.3-py2.py3-none-any.whl (67.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page