Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding authentication to Jitsi Meet

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:

  1. User logs in with Google via custom app.
  2. User is redirected to a new Jitsi conference with a jwt parameter derived from the Google login information.

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?

like image 945
Kerry Ritter Avatar asked Nov 07 '22 11:11

Kerry Ritter


1 Answers

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

like image 105
Martin Cabrera Avatar answered Nov 27 '22 00:11

Martin Cabrera