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/handlers/cas_handler.py | |
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/handlers/cas_handler.py')
-rw-r--r-- | synapse/handlers/cas_handler.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/handlers/cas_handler.py b/synapse/handlers/cas_handler.py index 295974c521..f3430c6713 100644 --- a/synapse/handlers/cas_handler.py +++ b/synapse/handlers/cas_handler.py @@ -77,6 +77,9 @@ class CasHandler: # identifier for the external_ids table self.idp_id = "cas" + # user-facing name of this auth provider + self.idp_name = "CAS" + self._sso_handler = hs.get_sso_handler() self._sso_handler.register_identity_provider(self) |