diff --git a/doc/jaas/index-jaas.html b/doc/jaas/index-jaas.html
index a80347aa2f..5b36cd3000 100644
--- a/doc/jaas/index-jaas.html
+++ b/doc/jaas/index-jaas.html
@@ -13,7 +13,7 @@
const jaasJwt = ;
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
diff --git a/doc/jaas/nginx-jaas.conf b/doc/jaas/nginx-jaas.conf
index a82bcb047e..94d0df4f25 100644
--- a/doc/jaas/nginx-jaas.conf
+++ b/doc/jaas/nginx-jaas.conf
@@ -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 {