This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
The default OpenId Connect user mapping provider fail to initialize with default config #9213
Labels
S-Tolerable
Minor significance, cosmetic issues, low or no impact to users.
T-Defect
Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Enable OpenID Connect, configure the required properties (
issuer
,client_id
, etc.) and don't change anything touser_mapping_provider
(i.e. use the default user mapping behavior).The OIDC section of the configuration look like this:
Synapse won't start and log the following error:
It seems you can workaround this by setting one of the properties in
user_mapping_provider:config:
to its default (for examplesubject_claim: "sub"
). At least I don't have the error anymore.I'm hardly a Python expert but feels like when
config:
is totally empty it produces aNoneType
object instead of a dictionary/map (or whatever is expected by the provider for the configuration) object so theget()
call in https://github.com/matrix-org/synapse/blob/develop/synapse/handlers/oidc_handler.py#L1157 crashes.Version information
Synapse Debian package (
matrix-synapse-py3
) 1.25.0+stretch1.System: Debian Stretch
The text was updated successfully, but these errors were encountered: