mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 03:12:29 +00:00
feat: Adds wait for host prosody module and handling it.
While the host arrives all other participants are waiting in lobby and once the host arrives lobby is destroyed and the participants join the call. Adds reading some other fields in jwt to extract email. Introduces tokenLogoutUrl to be used for logout.
This commit is contained in:
@@ -297,6 +297,9 @@ function Util:process_and_verify_token(session, acceptedIssuers)
|
||||
if claims["context"]["room"] ~= nil then
|
||||
session.jitsi_meet_context_room = claims["context"]["room"]
|
||||
end
|
||||
elseif claims["user_id"] then
|
||||
session.jitsi_meet_context_user = {};
|
||||
session.jitsi_meet_context_user.id = claims["user_id"];
|
||||
end
|
||||
return true;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user