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
pull/1791/head
DevelopingEntitiesWithFuntations 7 months ago committed by GitHub
parent f9ff2a4887
commit 11285cd30f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      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 }}"

Loading…
Cancel
Save