Skip to content

Commit e939230

Browse files
prosody: add ability to customize JWT signature type
Fixes: #1771
1 parent b0f9eb2 commit e939230

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ services:
232232
- JWT_ALLOW_EMPTY
233233
- JWT_AUTH_TYPE
234234
- JWT_ENABLE_DOMAIN_VERIFICATION
235+
- JWT_SIGN_TYPE
235236
- JWT_TOKEN_AUTH_MODULE
236237
- MATRIX_UVS_URL
237238
- MATRIX_UVS_ISSUER

prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ VirtualHost "jigasi.meet.jitsi"
134134
"muc_password_check";
135135
}
136136
authentication = "token"
137+
{{ if .Env.JWT_SIGN_TYPE }}
138+
signature_algorithm = "{{ .Env.JWT_SIGN_TYPE }}"
139+
{{ end -}}
137140
app_id = "jitsi";
138141
asap_key_server = "https://jaas-public-keys.jitsi.net/jitsi-components/prod-8x8"
139142
asap_accepted_issuers = { "jaas-components" }

0 commit comments

Comments
 (0)