prosody: add ability to customize JWT signature type

Fixes: #1771
pull/1781/head
DevelopingEntitiesWithFuntations 8 months ago committed by GitHub
parent b0f9eb2f56
commit e9392302b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      docker-compose.yml
  2. 3
      prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua

@ -232,6 +232,7 @@ services:
- JWT_ALLOW_EMPTY - JWT_ALLOW_EMPTY
- JWT_AUTH_TYPE - JWT_AUTH_TYPE
- JWT_ENABLE_DOMAIN_VERIFICATION - JWT_ENABLE_DOMAIN_VERIFICATION
- JWT_SIGN_TYPE
- JWT_TOKEN_AUTH_MODULE - JWT_TOKEN_AUTH_MODULE
- MATRIX_UVS_URL - MATRIX_UVS_URL
- MATRIX_UVS_ISSUER - MATRIX_UVS_ISSUER

@ -134,6 +134,9 @@ VirtualHost "jigasi.meet.jitsi"
"muc_password_check"; "muc_password_check";
} }
authentication = "token" authentication = "token"
{{ if .Env.JWT_SIGN_TYPE }}
signature_algorithm = "{{ .Env.JWT_SIGN_TYPE }}"
{{ end -}}
app_id = "jitsi"; app_id = "jitsi";
asap_key_server = "https://jaas-public-keys.jitsi.net/jitsi-components/prod-8x8" asap_key_server = "https://jaas-public-keys.jitsi.net/jitsi-components/prod-8x8"
asap_accepted_issuers = { "jaas-components" } asap_accepted_issuers = { "jaas-components" }

Loading…
Cancel
Save