Python Toolkit

Code Your Python App to Provide SSO via OneLogin

You can use OneLogin’s open-source SAML toolkit for Python to enable single sign-on (SSO) for your app via any identity provider that offers SAML authentication. Use this document to learn how to set up the SSO connection between your app and OneLogin, specifically. We’ll use the demo-django or demo-flask apps (python-saml-master/demo-django or python-saml-master/demo-flask) delivered in the toolkit to demonstrate how to perform the necessary tasks. These are simple apps that demonstrate the SSO and single logout (SLO) flow enabled by the SAML toolkit. For important information about prerequisites and installing and developing an app with the SAML Toolkit for Python, see OneLogin’s SAML Python Toolkit. GitHub The download also includes documentation of the OneLogin SAML Toolkit Python library. See /python-saml-master/docs/saml2/index.html.