The SaToSa SPID backend contained in this project adopt specialized forks of pySAML2 and SATOSA, that implements the following patches, read this for any further explaination about how to patch by hands.
All the patches and features are currently merged and available with the following releases:
These are mandatory only for getting Spid SAML2 working, these are not needed for any other traditional SAML2 deployment: