From 11285cd30f23a45c8dc32183396932ebc08856f4 Mon Sep 17 00:00:00 2001 From: DevelopingEntitiesWithFuntations <72665734+DevelopingEntitiesWithFuntations@users.noreply.github.com> Date: Sat, 27 Apr 2024 09:31:30 +0000 Subject: [PATCH] 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 --- prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua b/prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua index d0e75b4..78bb09b 100644 --- a/prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua +++ b/prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua @@ -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 }}"