Skip to content

Allow for all auth flow to happen in the Electron app #1010

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jmallach opened this issue Mar 21, 2025 · 2 comments
Open

Allow for all auth flow to happen in the Electron app #1010

jmallach opened this issue Mar 21, 2025 · 2 comments

Comments

@jmallach
Copy link

Hi! Currently, using Electron to create rooms is cumbersome because the auth flow happens in the browser, but at least in my deployment, once the authentication is complete, nothing happens in the Electron app, simply the Jitsi conference happens in the browser window that was opened for the authentication.

Is it possible to allow that whatever URL is configured for the server and is rendered in the "Log In" button is allowed to be rendered as an internal link? Possibly this is somewhat related. https://www.electronjs.org/docs/latest/api/window-open.

Or am I doing something wrong, and after a successful authentication in an external browser, the flow should return to the Electron app?

I'm using the electron app from flathub, which runs in a sandbox.

Possibly related: #900

@saghul
Copy link
Member

saghul commented Mar 21, 2025

How did you configure authentication?

@jmallach
Copy link
Author

jmallach commented May 7, 2025

Sorry @saghul, I never saw your reply. Our docker-based setup integrates an OpenID auth flow using https://github.com/MarcelCoding/jitsi-openid and image: thomseddon/traefik-forward-auth:2 for Traefik integration.

So basically, AUTH_TYPE=jwt, jitsi-openid and Keycloak as IDP. The auth url is auth.company.com, and TOKEN_AUTH_URL is https://auth.meetings.example.com/room/{room}.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants