prepare for k3s
This commit is contained in:
parent
dbe7530092
commit
b16f387593
10
README.md
10
README.md
@ -117,6 +117,16 @@ user.
|
||||
Whether to allow a user logging in via OIDC to match a pre-existing account
|
||||
instead of failing.
|
||||
|
||||
## OIDC_LOCALPART_TEMPLATE
|
||||
- default: {{ user.preferred_username }}
|
||||
|
||||
Jinja2 template for the localpart of the MXID.
|
||||
|
||||
## OIDC_DISPLAY_NAME_TEMPLATE
|
||||
- default: {{ user.given_name }} {{ user.last_name }}
|
||||
|
||||
Jinja2 template for the display name to set on first login.
|
||||
|
||||
## SSO_CLIENT_WHITELIST
|
||||
- default: []
|
||||
|
||||
|
@ -1782,14 +1782,13 @@ oidc_config:
|
||||
#
|
||||
# This must be configured if using the default mapping provider.
|
||||
#
|
||||
localpart_template: "{{"{{"}} user.preferred_username {{"}}"}}"
|
||||
localpart_template: "{{ getenv "OIDC_LOCALPART_TEMPLATE" "{{"{{"}} user.preferred_username {{"}}"}}" }}"
|
||||
|
||||
# Jinja2 template for the display name to set on first login.
|
||||
#
|
||||
# If unset, no displayname will be set.
|
||||
#
|
||||
#display_name_template: "{{"{{"}} user.given_name {{"}}"}} {{"{{"}} user.last_name {{"}}"}}"
|
||||
|
||||
display_name_template: "{{ getenv "OIDC_DISPLAY_NAME_TEMPLATE" "{{"{{"}} user.given_name {{"}}"}} {{"{{"}} user.last_name {{"}}"}}" }}"
|
||||
# Jinja2 templates for extra attributes to send back to the client during
|
||||
# login.
|
||||
#
|
||||
|
@ -1,2 +0,0 @@
|
||||
/var/lib/matrix-synapse/signing/ true matrix-synapse 0640 0750
|
||||
/var/lib/matrix-synapse/media_store/ true matrix-synapse 0640 0750
|
Loading…
Reference in New Issue
Block a user