diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-12-01 07:25:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-01 07:25:58 -0500 |
commit | a265fbd397ae72b2d3ea4c9310591ff1d0f3e05c (patch) | |
tree | 5a0e7d594faeac294e1ae1557fc21505a7747d87 /synapse/rest/client/login.py | |
parent | Update openid.md (diff) | |
download | synapse-a265fbd397ae72b2d3ea4c9310591ff1d0f3e05c.tar.xz |
Register the login redirect endpoint for v3. (#11451)
As specified for Matrix v1.1.
Diffstat (limited to 'synapse/rest/client/login.py')
-rw-r--r-- | synapse/rest/client/login.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/login.py b/synapse/rest/client/login.py index 09f378f919..a66ee4fb3d 100644 --- a/synapse/rest/client/login.py +++ b/synapse/rest/client/login.py @@ -513,7 +513,7 @@ class SsoRedirectServlet(RestServlet): re.compile( "^" + CLIENT_API_PREFIX - + "/r0/login/sso/redirect/(?P<idp_id>[A-Za-z0-9_.~-]+)$" + + "/(r0|v3)/login/sso/redirect/(?P<idp_id>[A-Za-z0-9_.~-]+)$" ) ] |