Skip to content

Commit

Permalink
prosody: Fixed the wrong position of the JWT_SIGN_TYPE setting in the…
Browse files Browse the repository at this point in the history
… file (jitsi#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
  • Loading branch information
DevelopingEntitiesWithFuntations authored Apr 27, 2024
1 parent f9ff2a4 commit 11285cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand All @@ -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 }}"
Expand Down

0 comments on commit 11285cd

Please sign in to comment.