I would like to add the ability to only allow authenticated users to create a conference in Jitsi Meet. I see the external API's jwt param, config.tokenAuthUrl and the lib-jitsi-meet tokens document but I'm very confused on how to put it all together.
Right now, my workflow is as follows:
Where I'm stuck is validating this token, and how to set it up to validate. What configuration needs made? What type of response should the tokenAuthUrl application be returning for valid/invalid JWTs?
these changes should be made in /etc/prosody/conf.avail/[your-hostname].cfg.lua
a) Enable authentication on your main domain:
VirtualHost "jitsi-meet.example.com"
authentication = "internal_plain"
Source: https://github.com/jitsi/jicofo