Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Add back the deprecated SAML endpoint. #9474

Merged
merged 2 commits into from
Feb 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/9474.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Revert change in v1.28.0rc1 to remove the deprecated SAML endpoint.
7 changes: 6 additions & 1 deletion synapse/rest/synapse/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,12 @@ def build_synapse_client_resource_tree(hs: "HomeServer") -> Mapping[str, Resourc
if hs.config.saml2_enabled:
from synapse.rest.synapse.client.saml2 import SAML2Resource

resources["/_synapse/client/saml2"] = SAML2Resource(hs)
res = SAML2Resource(hs)
resources["/_synapse/client/saml2"] = res

# This is also mounted under '/_matrix' for backwards-compatibility.
# To be removed in Synapse v1.32.0.
resources["/_matrix/saml2"] = res

return resources

Expand Down