diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2021-01-05 11:25:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-05 11:25:28 +0000 |
commit | 111b673fc1bbd3d51302d915f2ad2c044ed7d3b8 (patch) | |
tree | ee1f86468f6f9880c03c0041e8d706fe1168e7bd /synapse/app | |
parent | Combine the SSO Redirect Servlets (#9015) (diff) | |
download | synapse-111b673fc1bbd3d51302d915f2ad2c044ed7d3b8.tar.xz |
Add initial support for a "pick your IdP" page (#9017)
During login, if there are multiple IdPs enabled, offer the user a choice of IdPs.
Diffstat (limited to 'synapse/app')
-rw-r--r-- | synapse/app/homeserver.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py index 8d9b53be53..b1d9817a6a 100644 --- a/synapse/app/homeserver.py +++ b/synapse/app/homeserver.py @@ -63,6 +63,7 @@ from synapse.rest import ClientRestResource from synapse.rest.admin import AdminRestResource from synapse.rest.health import HealthResource from synapse.rest.key.v2 import KeyApiV2Resource +from synapse.rest.synapse.client.pick_idp import PickIdpResource from synapse.rest.synapse.client.pick_username import pick_username_resource from synapse.rest.well_known import WellKnownResource from synapse.server import HomeServer @@ -194,6 +195,7 @@ class SynapseHomeServer(HomeServer): "/.well-known/matrix/client": WellKnownResource(self), "/_synapse/admin": AdminRestResource(self), "/_synapse/client/pick_username": pick_username_resource(self), + "/_synapse/client/pick_idp": PickIdpResource(self), } ) |