Jitsi JWT Token
-
Hi,
I would like to create a room from a backend, programmatically and mail the link to the parties (only 2 in my scenario) who will join (by clicking the link, without passwords, logins etc).
After some research I believe I have to use Jwt tokens with Jitsi. Is it possible to use jwt tokens with the Cloudron Jitsi package? (Docs say Prosody version 0.11.6 is required for jwt, but the version is 0.11.4 in the package) Or is there any other way?
Any ideas, directions will be appreciated.
-
@borax We use the latest prosody package from https://download.jitsi.org/stable/ which is
1.0.6155-1
(package version and not prosody version).Can you tell us how to test this and also where this prosody requirement comes from?
-
The document at https://github.com/jitsi/lib-jitsi-meet/blob/master/doc/tokens.md#prosody-version states : JWT tokens requires prosody 0.11.6 or higher.
I checked prosody version with below command.
prosodyctl about
Prosody 0.11.4I have another question about configuring prosody. The cfg files below are readonly. How can I change then configuration?
/app/pkg/prosody.cfg.lua
/etc/prosody/prosody.cfg.luaI may be looking in the wrong direction. Is there another way to use jwt tokens with Jitsi?
-
Currently only the frontend bits can be configured with the app package. Essentially everything from https://github.com/jitsi/jitsi-meet/blob/master/config.js which can be put in
/app/data/jitsi-meet-config.js
.User authentication (which JWT tokens will do in this case) is currently not possible to customize and the current package does not yet support JWT tokens.
Regarding the config files, The ones used are symlinked into
/etc
and can be found in/run
. Those however are recreated on every app restart so currently no permanent customizations can be made to those. -
-
HI,
I am also interested in implementing JWT on Jitsi with Cloudron. Have there been any changes after a year from the request? Has anyone found a way to implement this or is it not possible yet?