Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Normalizing subdomain when checking JWTs; similar to room.
jmacelroy573cc64fcd66
diff --git a/resources/prosody-plugins/token/util.lib.lua b/resources/prosody-plugins/token/util.lib.luaindex 72df4ec8a4..a949814ad7 100644--- a/resources/prosody-plugins/token/util.lib.lua+++ b/resources/prosody-plugins/token/util.lib.lua@@ -379,7 +379,7 @@ function Util:verify_room(session, room_address)endreturn room_address_to_verify == jid.join(- "["..subdomain_to_check.."]"..string.lower(room_to_check), self.muc_domain);+ "["..string.lower(subdomain_to_check).."]"..string.lower(room_to_check), self.muc_domain);elseif auth_domain == '*' then-- check for wildcard in JWT claim, allow access if found@@ -391,7 +391,7 @@ function Util:verify_room(session, room_address)-- we do not have a domain part (multidomain is not enabled)-- verify with info from the tokenreturn room_address_to_verify == jid.join(- string.lower(room_to_check), subdomain_to_check);+ string.lower(room_to_check), string.lower(subdomain_to_check));endend