Python package pysaml2 version 4.6.1 will return the error `SAMLError: Missing entity_id specification`. Downgrading the pysaml version to 4.0.3 allows the SAML assertion to post successfully.