Merge commit '33757bad1' into rav/saml_mapping_work

This commit is contained in:
Richard van der Hoff 2019-09-20 11:21:40 +01:00
commit 366dc7d2d4

View File

@ -111,7 +111,8 @@ class SamlHandler:
logger.warning("SAML2 response was not signed") logger.warning("SAML2 response was not signed")
raise SynapseError(400, "SAML2 response was not signed") raise SynapseError(400, "SAML2 response was not signed")
logger.info("Got SAML2 reponse with attributes: %s", saml2_auth.ava) logger.info("SAML2 response: %s", saml2_auth.origxml)
logger.info("SAML2 mapped attributes: %s", saml2_auth.ava)
try: try:
remote_user_id = saml2_auth.ava["uid"][0] remote_user_id = saml2_auth.ava["uid"][0]