This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
OIDC idp_icon not being defined breaks the username picker #9439
Labels
A-Social Login
Login via external identity providers
S-Minor
Blocks non-critical functionality, workarounds exist.
T-Defect
Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Description
Trying to login on a new account through an oidc idp without having idp_icon or localpart_template (so that the username picker is triggered) defined causes an internal server error with the following error in log:
The username picker tries to load the idp_icon to show on the picker page but fails instead of falling back to not showing an icon. An example config that causes the error:
Steps to reproduce
Version information
Synapse 1.27.0 from matrix-org debian repo
The text was updated successfully, but these errors were encountered: