feat(jaas-example): Uses conf-id generated from token generator.

pull/13371/head jitsi-meet_8677
damencho 2 years ago committed by Дамян Минков
parent fcf723c679
commit b9d5838398
  1. 2
      doc/jaas/index-jaas.html
  2. 2
      doc/jaas/nginx-jaas.conf

@ -13,7 +13,7 @@
const jaasJwt = <!--#include virtual="/jaas-jwt" -->;
const api = new JitsiMeetExternalAPI(
window.location.host, {
roomName: `${jaasJwt.tenant}/${getRoomName(window.location.pathname)}`,
roomName: `${jaasJwt.tenant}/${jaasJwt.confId}`,
parentNode: document.querySelector('#jaas-container'),
jwt: jaasJwt.token,
e2eeKey: jaasJwt.e2eeKey

@ -8,7 +8,7 @@ location = /jaas-jwt {
proxy_set_header Authorization "Bearer $jaas_asap_key";
proxy_pass_request_body off;
proxy_set_body '{"sub":"jaas_magic_cookie","context":{"features":{"livestreaming":false,"outbound-call":false,"sip-outbound-call":false,"transcription":false,"recording":false},"user":{"moderator":true}},"room": "$roomname"}';
proxy_pass http://127.0.0.1:8017/generate/client?e2eeKey=true;
proxy_pass http://127.0.0.1:8017/generate/client?e2eeKey=true&confId=true;
}
location @magic_root_path {

Loading…
Cancel
Save