diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2021-01-20 13:15:14 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-20 08:15:14 -0500 |
commit | 0cd2938bc854d947ae8102ded688a626c9fac5b5 (patch) | |
tree | b125ffde49f269d946f602ea70beba27864d813f /synapse/handlers/oidc_handler.py | |
parent | Merge remote-tracking branch 'origin/develop' into release-v1.26.0 (diff) | |
download | synapse-0cd2938bc854d947ae8102ded688a626c9fac5b5.tar.xz |
Support icons for Identity Providers (#9154)
Diffstat (limited to 'synapse/handlers/oidc_handler.py')
-rw-r--r-- | synapse/handlers/oidc_handler.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/handlers/oidc_handler.py b/synapse/handlers/oidc_handler.py index ba686d74b2..1607e12935 100644 --- a/synapse/handlers/oidc_handler.py +++ b/synapse/handlers/oidc_handler.py @@ -271,6 +271,9 @@ class OidcProvider: # user-facing name of this auth provider self.idp_name = provider.idp_name + # MXC URI for icon for this auth provider + self.idp_icon = provider.idp_icon + self._sso_handler = hs.get_sso_handler() self._sso_handler.register_identity_provider(self) |