Skip to content
Snippets Groups Projects
Commit 7423fade authored by Richard van der Hoff's avatar Richard van der Hoff
Browse files

better logging

parent b9d57502
No related branches found
No related tags found
No related merge requests found
...@@ -111,6 +111,8 @@ class SamlHandler: ...@@ -111,6 +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)
try: try:
remote_user_id = saml2_auth.ava["uid"][0] remote_user_id = saml2_auth.ava["uid"][0]
except KeyError: except KeyError:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment