|
|
|
@ -7,6 +7,7 @@ |
|
|
|
|
{{ $JWT_ASAP_KEYSERVER := .Env.JWT_ASAP_KEYSERVER | default "" }} |
|
|
|
|
{{ $JWT_ALLOW_EMPTY := .Env.JWT_ALLOW_EMPTY | default "0" | toBool }} |
|
|
|
|
{{ $JWT_AUTH_TYPE := .Env.JWT_AUTH_TYPE | default "token" }} |
|
|
|
|
{{ $JWT_ENABLE_DOMAIN_VERIFICATION := .Env.JWT_ENABLE_DOMAIN_VERIFICATION | default "true" | toBool -}} |
|
|
|
|
{{ $MATRIX_UVS_ISSUER := .Env.MATRIX_UVS_ISSUER | default "issuer" }} |
|
|
|
|
{{ $MATRIX_UVS_SYNC_POWER_LEVELS := .Env.MATRIX_UVS_SYNC_POWER_LEVELS | default "0" | toBool }} |
|
|
|
|
{{ $JWT_TOKEN_AUTH_MODULE := .Env.JWT_TOKEN_AUTH_MODULE | default "token_verification" }} |
|
|
|
@ -100,6 +101,7 @@ VirtualHost "{{ $XMPP_DOMAIN }}" |
|
|
|
|
{{ if $JWT_ASAP_KEYSERVER }} |
|
|
|
|
asap_key_server = "{{ .Env.JWT_ASAP_KEYSERVER }}" |
|
|
|
|
{{ end }} |
|
|
|
|
enable_domain_verification = {{ $JWT_ENABLE_DOMAIN_VERIFICATION }} |
|
|
|
|
{{ else if eq $AUTH_TYPE "ldap" }} |
|
|
|
|
authentication = "cyrus" |
|
|
|
|
cyrus_application_name = "xmpp" |
|
|
|
|