I am struggle to find resources to help me with an issue I have. I have a site secured with SAML 2.0. Can someone point me to a resource(s) showing how to login to a site using SAML 2.0? Most of the python modules out there seem to be in regards of implementing SAML 2, I just need to login to a site implementing SAML 2.0.
Thank you
J
SAML 2.0 was introduced in 2005 and remains the current version of the standard. The previous version, 1.1, is now largely deprecated.
SAML works by exchanging user information, such as logins, authentication state, identifiers, and other relevant attributes between the identity and service provider. As a result, it simplifies and secures the authentication process as the user only needs to log in once with a single set of authentication credentials.
Python-saml can help you do that: https://github.com/onelogin/python-saml
There are a few other projects that I've found but none seem to be very well documented. And as a warning its still quite complicated. The demo-flask or demo-django apps in there will help out.
If anyone else has a better explanation of how it all works in detail I would like to see it, but the wiki page has been the most helpful so far: http://en.wikipedia.org/wiki/SAML_2.0
Also, this question has been asked before here: Python library for implementing SAML2 based service provider and identity provider?.
The app logging them in is actually the service provider. The identity provider is the server you authenticate them with.
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