diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2021-01-27 21:31:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-27 21:31:45 +0000 |
commit | a083aea396dbd455858e93d6a57a236e192b68e2 (patch) | |
tree | d81f829e13490887f2be559471c8287245507037 /synapse/handlers/cas_handler.py | |
parent | Support for scraping email addresses from OIDC providers (#9245) (diff) | |
download | synapse-a083aea396dbd455858e93d6a57a236e192b68e2.tar.xz |
Add 'brand' field to MSC2858 response (#9242)
We've decided to add a 'brand' field to help clients decide how to style the buttons. Also, fix up the allowed characters for idp_id, while I'm in the area.
Diffstat (limited to 'synapse/handlers/cas_handler.py')
-rw-r--r-- | synapse/handlers/cas_handler.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/handlers/cas_handler.py b/synapse/handlers/cas_handler.py index 0f342c607b..048523ec94 100644 --- a/synapse/handlers/cas_handler.py +++ b/synapse/handlers/cas_handler.py @@ -80,9 +80,10 @@ class CasHandler: # user-facing name of this auth provider self.idp_name = "CAS" - # we do not currently support icons for CAS auth, but this is required by + # we do not currently support brands/icons for CAS auth, but this is required by # the SsoIdentityProvider protocol type. self.idp_icon = None + self.idp_brand = None self._sso_handler = hs.get_sso_handler() |