Reputation: 1187
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?
Upvotes: 5
Views: 8995
Reputation: 181
In Jitsi there are two types of authentication. One is token-based
authentication and another one is password-based
authentication. If you need to dynamically change permission on users then you have to go with token-based
authentication.
If you want to customize token-based
authentication then you have to write custom prosody modules for that purpose.
Upvotes: 0
Reputation: 11
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
Upvotes: 1