Coder Social home page Coder Social logo

gradconnection / dj-saml-idp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from neon-jungle/dj-saml-idp

0.0 9.0 0.0 206 KB

Authenticate users for your Django web app against a SAML 2.0 Identity Provider.

License: MIT License

Makefile 0.30% Shell 0.68% Python 96.10% HTML 2.72% Dockerfile 0.20%

dj-saml-idp's Introduction

dj-saml-idp

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.

Note: Only supports Django 1.5+.

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-27

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.

dj-saml-idp's People

Contributors

roadsideseb avatar mx-moth avatar natim avatar danni avatar gorobets-da avatar reduxionist avatar

Watchers

Vadim Chernysh avatar James Cloos avatar Den Angeles avatar  avatar Abi Pathak avatar  avatar  avatar  avatar Chace avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.