Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Unsolved Jitsi JWT Token

    Jitsi
    3
    4
    269
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      borax last edited by

      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.

      girish 1 Reply Last reply Reply Quote 1
      • girish
        girish Staff @borax last edited by

        @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?

        1 Reply Last reply Reply Quote 1
        • B
          borax last edited by borax

          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.4

          I 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.lua

          I may be looking in the wrong direction. Is there another way to use jwt tokens with Jitsi?

          1 Reply Last reply Reply Quote 0
          • nebulon
            nebulon Staff last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • Topic has been marked as a question  nebulon nebulon 
            • First post
              Last post
            Powered by NodeBB