I am looking for a Python library which can be used to implement SAML2 based service provider and identity provider. The core library should not depend on any particular web-framework. I am looking for something which is more feature complete and preferably easy to use. Also the library should have more permissive license (non-GPL). After searching I found few links, I have pasted it here:
http://wiki.python.org/moin/SAML
Any suggestion ?
The identity provider authenticates the user's credentials and then returns the authorization for the user to the service provider, and the user is now able to use the application. SAML authentication is the process of verifying the user's identity and credentials (password, two-factor authentication, etc.).
SAML 2.0 (Security Assertion Markup Language) is an open standard created to provide cross-domain single sign-on (SSO). In other words, it allows a user to authenticate in a system and gain access to another system by providing proof of their authentication.
The pysaml2 project at launchpad is pretty active now. I think that you were sprinting on it at PyCon 2011. The pysaml2 package is included in Python package index (PyPi) and installable with easy_install
/ pip
. The docs can be found at: https://pypi.python.org/pypi/pysaml2
There is a related project for Django which can be found at PyPi: djangosaml2
The other project, python-saml2 on google code, seems to be a bit older and not so active.
I don't have any experience with the other ones.
I found another one: https://github.com/tachang/PySAML
The abbreviations pysaml2, PySAML and python-saml2, which refer to three different projects, are a bit confusing.
Update: 2020 Sep 29 (on behalf of @Umognog, thx)
Update: 2019 Apr 27 - Current status of the projects:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With