Package: pysaml2
PySAML2 - SAML2 for PythonPySAML2 is a pure python implementation of SAML Version 2 Standard.
It contains all necessary pieces for building a SAML2 service provider
or an identity provider. The distribution contains examples of both.
Originally written to work in a WSGI environment
there are extensions that allow you to use it with other frameworks.Website:https://idpy.org/Documentation:https://pysaml2.readthedocs.io/Contribution guidelines:CONTRIBUTING.mdSecurity policies:SECURITY.mdSource code:https://github.com/IdentityPython/pysaml2/Developer guidelines:DEVELOPERS.mdPyPI project:https://pypi.org/project/pysaml2/License:LICENSESpecificationsRetrieved fromhttps://wiki.oasis-open.org/security/FrontPageSAML V2.0 StandardSAML2 Core (aka Assertions and Protocols):http://www.oasis-open.org/committees/download.php/56776/sstc-saml-core-errata-2.0-wd-07.pdfAssertion schema:http://docs.oasis-open.org/security/saml/v2.0/saml-schema-assertion-2.0.xsdProtocols schema:http://docs.oasis-open.org/security/saml/v2.0/saml-schema-protocol-2.0.xsdBindings:http://www.oasis-open.org/committees/download.php/56779/sstc-saml-bindings-errata-2.0-wd-06.pdfProfiles:http://www.oasis-open.org/committees/download.php/56782/sstc-saml-profiles-errata-2.0-wd-07.pdfMetadata:http://www.oasis-open.org/committees/download.php/56785/sstc-saml-metadata-errata-2.0-wd-05.pdfMetadata schema:http://docs.oasis-open.org/security/saml/v2.0/saml-schema-metadata-2.0.xsdAuthentication Context:http://docs.oasis-open.org/security/saml/v2.0/saml-authn-context-2.0-os.pdfConformance Requirements:https://docs.oasis-open.org/security/saml/v2.0/saml-conformance-2.0-os.pdfSecurity and Privacy Considerations:http://docs.oasis-open.org/security/saml/v2.0/saml-sec-consider-2.0-os.pdfGlossary:http://docs.oasis-open.org/security/saml/v2.0/saml-glossary-2.0-os.pdfProfiles and extensionsMetadata Extension for SAML V2.0 and V1.x Query Requesters:http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-metadata-ext-query-os.pdfSAML V2.0 Metadata Interoperability Profile:https://docs.oasis-open.org/security/saml/Post2.0/sstc-metadata-iop-os.pdfSAML V2.0 Metadata Extensions for Login and Discovery User Interface Version 1.0:https://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-metadata-ui/v1.0/os/sstc-saml-metadata-ui-v1.0-os.pdfSAML V2.0 LDAP/X.500 Attribute Profile:http://www.oasis-open.org/committees/download.php/28042/sstc-saml-attribute-x500-cs-01.pdfSAML V2.0 Enhanced Client or Proxy Profile Version 2.0:https://docs.oasis-open.org/security/saml/Post2.0/saml-ecp/v2.0/cs01/saml-ecp-v2.0-cs01.pdfCommittee SpecificationsSAML V2.0 Subject Identifier Attributes Profile Version 1.0:https://docs.oasis-open.org/security/saml-subject-id-attr/v1.0/cs01/saml-subject-id-attr-v1.0-cs01.pdfInstallationYou can install PySAML2 through pip:pipinstallpysaml2External dependenciesPySAML2 works with thexmlsecbinary.
Notice that support for xmlsec1 1.3was added withv7.4.2.xmlsecshould be readily available in most Linux distributions:$apt-getinstallxmlsec1
$dnfinstallxmlsec1-openssl
$yuminstallxmlsec1-openssl
$pacman-Sxmlsec
...and on MacOS throughhomebrew$brewinstalllibxmlsec1ChangelogSee theCHANGELOGto learn about the latest developments.ContributingWe've set up a separate document for ourcontribution guidelines.CommunityIdentityPythonis a community around
a collection of libraries and tools to manage identity related concepts with Python code.
You can interact with the community though themailing listor on theSlack workspace(invitation).DevelopmentWe've set up a separate document fordevelopers.ReleasingWe've set up a separate document for ourrelease process.Pre-commit(TODO)