Skip to main content

SAML 2.0 IdP for Django

Project description

https://travis-ci.org/mobify/dj-saml-idp.svg?branch=master

This is a fork novapost/django-saml2-idp that is distributed indipendantly as dj-saml-idp.

dj-saml-idp implements the Identity Provider side of the SAML 2.0 protocol and makes user authentication available to external applications.

Testing

The test runner is pytest and we are using tox to run tests against different versions of Django. The test can be run locally using either tox directly (preferably in a virtualenv):

$ pip install tox
$ tox

Or inside a Docker container using using the provided Dockerfile and with docker-compose (requires docker and docker-compose to be installed):

$ docker-compose run test

Release

You need the PyPI credentials for the mobify account to be able to release a new version and the build script is expecting it defined as an environment variable:

$ export PYPI_PASSWORD=supersecretpassword

Releasing a new version to PyPI is very simple. The first thing you need to do is make sure that all the test are passing and that the version in saml2idp/__init__.py is the one that you’d like to create on PyPI.

With that done, all you need to do is run the following commands:

$ make release

This will cleanup the build/ and dist/ directories, build a source package and a Python wheel. Both will then be uploaded to PyPI.

License

Distributed under the MIT License.

Project details


Download files

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

Source Distribution

dj-saml-idp-0.19.5.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

dj_saml_idp-0.19.5-py2.py3-none-any.whl (21.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file dj-saml-idp-0.19.5.tar.gz.

File metadata

File hashes

Hashes for dj-saml-idp-0.19.5.tar.gz
Algorithm Hash digest
SHA256 9563fc98df5271907bb12ff6efcf07d3fde116aa86bc3a30b8120e906115f0c8
MD5 b0a5eddef559dc2256005e8bc62ef81e
BLAKE2b-256 87dbf943d9ff0a9870690bcbebfb4a51017ee3881b84cf0657f12dd8dc42cc5f

See more details on using hashes here.

File details

Details for the file dj_saml_idp-0.19.5-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for dj_saml_idp-0.19.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7ea4bf38a6fa85ac357409bb4a8a6cdc4346657a2a5d2e5dd11ab05b2a9866dd
MD5 918272095caf41417387701fa37d3587
BLAKE2b-256 d71bb0b2cb449d98b76878c31df5f7899d1b3528f251b4ac82549c9c9539d2f9

See more details on using hashes here.

Supported by

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