summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-02-18 11:20:33 -0500
committerGitHub <noreply@github.com>2021-02-18 11:20:33 -0500
commit9ee3b9775fdd8cf5276e1834f9b9117218dcf882 (patch)
treef4872b082dbf783518cc63ef0d88bc7d2dc8e5ef /synapse/rest
parentRevert "Newsfragment", which was meant to be part of #9434. (diff)
downloadsynapse-9ee3b9775fdd8cf5276e1834f9b9117218dcf882.tar.xz
Remove deprecated SAML2 callback URL since it does not work. (#9434)
Updates documentation from #9289 and removes a deprecated
endpoint which didn't work as expected.
Diffstat (limited to 'synapse/rest')
-rw-r--r--synapse/rest/synapse/client/__init__.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/synapse/rest/synapse/client/__init__.py b/synapse/rest/synapse/client/__init__.py
index e5ef515090..8588b6d271 100644
--- a/synapse/rest/synapse/client/__init__.py
+++ b/synapse/rest/synapse/client/__init__.py
@@ -54,11 +54,7 @@ def build_synapse_client_resource_tree(hs: "HomeServer") -> Mapping[str, Resourc
     if hs.config.saml2_enabled:
         from synapse.rest.synapse.client.saml2 import SAML2Resource
 
-        res = SAML2Resource(hs)
-        resources["/_synapse/client/saml2"] = res
-
-        # This is also mounted under '/_matrix' for backwards-compatibility.
-        resources["/_matrix/saml2"] = res
+        resources["/_synapse/client/saml2"] = SAML2Resource(hs)
 
     return resources