fix(synapse): add user mapping to fix login via sso
This commit is contained in:
parent
5668e1048d
commit
2402ec0761
1 changed files with 5 additions and 0 deletions
|
|
@ -186,6 +186,11 @@ in
|
||||||
- profile
|
- profile
|
||||||
client_id: '${config.sops.placeholder."synapse/oidc_id"}'
|
client_id: '${config.sops.placeholder."synapse/oidc_id"}'
|
||||||
client_secret: '${config.sops.placeholder."synapse/oidc_secret"}'
|
client_secret: '${config.sops.placeholder."synapse/oidc_secret"}'
|
||||||
|
backchannel_logout_enabled: true
|
||||||
|
user_mapping_provider:
|
||||||
|
config:
|
||||||
|
localpart_template: "{{ user.preferred_username }}"
|
||||||
|
display_name_template: "{{ user.name }}"
|
||||||
'';
|
'';
|
||||||
restartUnits = [ "matrix-synapse.service" ];
|
restartUnits = [ "matrix-synapse.service" ];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue