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

SAML SSO broken on Synapse 1.27 #9430

Closed
richvdh opened this issue Feb 18, 2021 · 4 comments · Fixed by #9434
Closed

SAML SSO broken on Synapse 1.27 #9430

richvdh opened this issue Feb 18, 2021 · 4 comments · Fixed by #9434
Assignees
Labels
S-Major Major functionality / product severely impaired, no satisfactory workaround.

Comments

@richvdh
Copy link
Member

richvdh commented Feb 18, 2021

The 1.27 upgrade notes claim:

Note: a similar change is being made for SAML2; in this case the old URI [synapse public baseurl]/_matrix/saml2 is being deprecated, but will continue to work, so no immediate changes are required for existing installations.

In fact, as part of the SAML2 request, the expected callback URI is sent to the SAML2 IdP, which will check that it matches what is expected and fail if not.

Hence, upgrading to Synapse 1.27 will break login for anyone using SAML :/.

@callahad callahad added P1 S-Major Major functionality / product severely impaired, no satisfactory workaround. labels Feb 18, 2021
@callahad
Copy link
Contributor

This is a docs-only fix, yes?

@richvdh
Copy link
Member Author

richvdh commented Feb 18, 2021

I vote that yes, we fix this through updating the docs and letting people know about it, though there's an alternative approach where we roll back #9289 and attempt a more orderly deprecation.

@clokep
Copy link
Member

clokep commented Feb 18, 2021

So this essentially has the same behavior as the OIDC code where we have to jump from one callback URL to another in one go? I think fixing up the docs and removing the old URL sounds OK. At least than OIDC and SAML were done in the same release.

@clokep
Copy link
Member

clokep commented Feb 18, 2021

I backported the docs changes to the v1.27.0 branch so that they will appear properly when people check the upgrade doc / changelog, see d804285. (This was also merged to master and develop and I've updated https://github.com/matrix-org/synapse/releases/tag/v1.27.0 too.)

@kittykat kittykat added the z-p1 label Sep 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
S-Major Major functionality / product severely impaired, no satisfactory workaround.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants