jitsi / jitsi-meet-electron

Jitsi Meet desktop application powered by :electron:
Apache License 2.0
1.48k stars 452 forks source link

Can’t get into any room after configuring jitsi-keycloak-adapter #933

Closed CreepyJ closed 6 months ago

CreepyJ commented 7 months ago

Description


I use jitsi-keycloak-adapter to connect keycloak and jitsi.The web version works fine, but jitsi deskopt can’t get into any room. The strange thing is that after commenting out the code “app.commandLine.appendSwitch(‘disable-site-isolation-trials’),” I can enter the room successfully, but other issues arise.

CreepyJ commented 7 months ago

After commenting out the code,the aspect ratio cannot be adjusted on its own, and screen sharing doesn’t work image image

CreepyJ commented 7 months ago

I found that after entering several spaces in the input box on the main interface of Jitsi Electron, the page will jump to the main interface of the web version. I can successfully join the meeting through this interface. However, directly joining the meeting from the main interface of Jitsi Electron, the request to Keycloak is canceled. 37680A69-A097-47d9-BADC-0C3D4DC90DB1

saghul commented 7 months ago

Have you asked the maintainers of the keycloak adapter?

CreepyJ commented 7 months ago

No, it seems they haven't adapted it for the Jitsi Electron version. The web version works fine, the Jitsi Electron app also allows access to meetings via the web homepage. But it is not possible to enter the meeting properly through the built-in homepage of Jitsi Electron.I think the issue with the inability to navigate pages properly is related to Electron's security policies, but I haven't found a solution yet.

saghul commented 7 months ago

What version of the Jitsi Meet server components are you using? We added support for opening the token auth URL on a new window a couple of months ago.

CreepyJ commented 7 months ago

You mean I can authorize without using jitsi-keycloak-adapter, where can I find the detail? I'm using jitsi-meet 2.0.8960

saghul commented 6 months ago

I am not familiar with jitsi-keycloak-adapter, but you should be able to ask the authors.

SignFinder commented 6 months ago

The same issue. Application redirects to browser for authorization but ... how to return to jitsi-electron after successful authorization in browser? The problem is not related to jitsi-keycloak IMHO, it can be any other provider where ahtu should be finished in browser. What about the same behavior like in mobile browser - when it is possible to open meeeting via browser and via mobile jitsi application.

saghul commented 6 months ago

The page that is opened after a succesful login would need to redirect to jitsi-meet://domain.tld/meeting that is not something we can fix in the app.