prosody: Fixed the wrong position of the JWT_SIGN_TYPE setting in the file (#1796)
* Fixed the JWT_SIGN_TYPE being in Jigasi - added it to the correct spot * Fixed the wrong position of the JWT_SIGN_TYPE setting in the file
This commit is contained in:
committed by
GitHub
parent
f9ff2a4887
commit
11285cd30f
@@ -135,9 +135,6 @@ VirtualHost "jigasi.meet.jitsi"
|
||||
"muc_password_check";
|
||||
}
|
||||
authentication = "token"
|
||||
{{ if .Env.JWT_SIGN_TYPE }}
|
||||
signature_algorithm = "{{ .Env.JWT_SIGN_TYPE }}"
|
||||
{{ end -}}
|
||||
app_id = "jitsi";
|
||||
asap_key_server = "https://jaas-public-keys.jitsi.net/jitsi-components/prod-8x8"
|
||||
asap_accepted_issuers = { "jaas-components" }
|
||||
@@ -147,6 +144,9 @@ VirtualHost "jigasi.meet.jitsi"
|
||||
VirtualHost "{{ $XMPP_DOMAIN }}"
|
||||
{{ if $ENABLE_AUTH }}
|
||||
{{ if eq $PROSODY_AUTH_TYPE "jwt" }}
|
||||
{{ if .Env.JWT_SIGN_TYPE }}
|
||||
signature_algorithm = "{{ .Env.JWT_SIGN_TYPE }}"
|
||||
{{ end -}}
|
||||
authentication = "{{ $JWT_AUTH_TYPE }}"
|
||||
app_id = "{{ .Env.JWT_APP_ID }}"
|
||||
app_secret = "{{ .Env.JWT_APP_SECRET }}"
|
||||
|
||||
Reference in New Issue
Block a user