summary refs log tree commit diff
path: root/synapse/handlers/saml_handler.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2019-09-20 11:15:14 +0100
committerRichard van der Hoff <richard@matrix.org>2019-09-20 11:20:02 +0100
commit33757bad19a19adaef211a0d58fc369c68dfeb3c (patch)
tree974cd748bda3a685d44dab003892cdb2b61f24f2 /synapse/handlers/saml_handler.py
parentbetter logging (diff)
downloadsynapse-33757bad19a19adaef211a0d58fc369c68dfeb3c.tar.xz
More better logging
Diffstat (limited to 'synapse/handlers/saml_handler.py')
-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]