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:
damencho
2023-07-24 23:22:12 -05:00
committed by Дамян Минков
parent c58de5c690
commit df81e0fe53
15 changed files with 202 additions and 27 deletions

View File

@@ -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