From 9ee3b9775fdd8cf5276e1834f9b9117218dcf882 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Thu, 18 Feb 2021 11:20:33 -0500 Subject: 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. --- synapse/rest/synapse/client/__init__.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'synapse') 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 -- cgit 1.4.1