summary refs log tree commit diff
path: root/synapse/handlers/auth.py
diff options
context:
space:
mode:
authorAlexander Trost <galexrt@googlemail.com>2019-06-02 18:13:20 +0200
committerAlexander Trost <galexrt@googlemail.com>2019-06-02 18:14:40 +0200
commitdc3e58693816b897c612ea2b1d5a9f0656108d7d (patch)
treecd6c370c809f4d97b45a2831631117f87133a72a /synapse/handlers/auth.py
parentMerge pull request #5309 from matrix-org/rav/limit_displayname_length (diff)
downloadsynapse-dc3e58693816b897c612ea2b1d5a9f0656108d7d.tar.xz
SAML2 Improvements and redirect stuff
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
Diffstat (limited to 'synapse/handlers/auth.py')
-rw-r--r--synapse/handlers/auth.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/handlers/auth.py b/synapse/handlers/auth.py
index aa5d89a9ac..e6c8965a9d 100644
--- a/synapse/handlers/auth.py
+++ b/synapse/handlers/auth.py
@@ -727,6 +727,9 @@ class AuthHandler(BaseHandler):
             if canonical_user_id:
                 defer.returnValue((canonical_user_id, None))
 
+        if login_type == LoginType.SSO:
+            known_login_type = True
+
         if not known_login_type:
             raise SynapseError(400, "Unknown login type %s" % login_type)