Add synapse oidc configuration
This commit is contained in:
parent
3dcb713821
commit
86ec201262
|
@ -23,6 +23,26 @@
|
|||
];
|
||||
report_stats = true;
|
||||
withJemalloc = true;
|
||||
|
||||
extraConfig = ''
|
||||
oidc_providers:
|
||||
- idp_id: authentik
|
||||
idp_name: authentik
|
||||
discover: true
|
||||
issuer: "https://auth.graven.dev/application/o/matrix-synapse/"
|
||||
client_id: "b680e49c584fad37610d465b1ea270e8daf7ce50"
|
||||
client_secret: "d404b3bca1e7d2073a79b4e6d60b64505e2249a7fa6b5a2a0f499ab1955b93e269cddff4c8ce37c8ad929e16cdab5640ec2c25cec36ed73e67b753b6d4689cac"
|
||||
scopes:
|
||||
- "openid"
|
||||
- "profile"
|
||||
- "email"
|
||||
user_mapping_provider:
|
||||
config:
|
||||
localpart_template: "{{ '{{ user.name }}' }}"
|
||||
display_name_template: "{{ '{{ user.name|capitalize }}' }}"
|
||||
'';
|
||||
|
||||
|
||||
logConfig = ''
|
||||
version: 1
|
||||
|
||||
|
|
Loading…
Reference in a new issue