summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2019-09-20 11:21:40 +0100
committerRichard van der Hoff <richard@matrix.org>2019-09-20 11:21:40 +0100
commit366dc7d2d4a8c4f5ec9f1ea848e88d9e60f6ee2e (patch)
tree86e63c693bccfebb8d30b7b2b1fab27109d18d6c
parentUpdate 6037.feature (diff)
parentMore better logging (diff)
downloadsynapse-366dc7d2d4a8c4f5ec9f1ea848e88d9e60f6ee2e.tar.xz
Merge commit '33757bad1' into rav/saml_mapping_work
-rw-r--r--synapse/handlers/saml_handler.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/handlers/saml_handler.py b/synapse/handlers/saml_handler.py
index f000d2a00f..cc9e6b9bd0 100644
--- a/synapse/handlers/saml_handler.py
+++ b/synapse/handlers/saml_handler.py
@@ -111,7 +111,8 @@ class SamlHandler:
             logger.warning("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:
             remote_user_id = saml2_auth.ava["uid"][0]