saml_idp: cleanup, fix XML signing

This commit is contained in:
Jens Langhammer
2018-12-26 21:56:08 +01:00
parent aa7e3c2a15
commit ebda84bcaf
11 changed files with 36 additions and 63 deletions

View File

@ -83,5 +83,5 @@ def get_response_xml(parameters, saml_provider: 'SAMLProvider', assertion_id='')
signed = sign_with_signxml(
saml_provider.signing_key, raw_response, saml_provider.signing_cert,
reference_uri=assertion_id).decode("utf-8")
reference_uri=assertion_id)
return signed