Skip to content
This repository has been archived by the owner on Jun 7, 2018. It is now read-only.
/ dj-saml-idp Public archive
forked from deforestg/dj-saml-idp

Moved to GitLab. Use your Django web app as a SAML 2.0 Identity Provider.

License

Notifications You must be signed in to change notification settings

basraah/dj-saml-idp

 
 

Repository files navigation

dj-saml-idp

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

This is a fork of deforestg/dj-saml-idp which in turn is a fork of novapost/django-saml2-idp and is intended to provide Python 3 support.

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

Note: Only targets support of Python 3.5 and Django 1.10+.

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

Release

First of all, create a new version of the package. We use bumpversion to handle updating all version strings, committing the changes and creating a new git tag automatically. To bump the packag version use the follwoing command with whichever part of the semantic version you'd like to update:

$ bumpversion (major|minor|patch)

for instance for a minor update, use (which should be the most common case):

$ bumpersion minor

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.

About

Moved to GitLab. Use your Django web app as a SAML 2.0 Identity Provider.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 96.9%
  • HTML 2.3%
  • Other 0.8%