"join meeting" twice for unauthenticated users #23
-
Hi! We are using the Adapter sucessfully for 2 of our Clients. Everything seems to work flawlessly, thanks a lot. However, there is a minor issue: If I try to create a new meeting while not yet being authenticated, I hit the prejoin page at first (where I can set up mic, camera etc.). After selecting "join meeting", I am redirected to Keycloak to sign in. After authenticating, I get redirected back to the prejoin page again, where I have to select "join meeting" for the 2nd time. Is there a way to get rid of having to click "join meeting" twice? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @uhillebrand, I think it is possible by customizing So, find the following line in const hash = encodeURIComponent(window.location.hash.substring(1)); and change it like the following: //const hash = encodeURIComponent(window.location.hash.substring(1));
let hash = "config.prejoinConfig.enabled=false";
if (window.location.hash) {
hash = `${hash}&${window.location.hash.substring(1)}`;
}
hash = encodeURIComponent(hash); |
Beta Was this translation helpful? Give feedback.
Hi @uhillebrand,
I think it is possible by customizing
/usr/share/jitsi-meet/body.html
. The Javascript codes in this file catches the login button and redirects the user to Keycloak. You may embed an additional parameter to the return URL (which isconfig.prejoinConfig.enabled
) to bypass the prejoin page after authentication.So, find the following line in
/usr/share/jitsi-meet/body.html
:It is line
#10
in the current templateand change it like the following: