My team and I are developing conference rooms using jitsi-meet. We have managed to apply configuration with JWT Token Authentication.
What is going on:
- Our backend server is creating tokens with one hour expiration date (exp = NOW() + 1h).
- Inside JWT tokens are encrypted users (names, roles etc.).
- We are using prosody BOSH to join the rooms (url in the browsers - https://XXXX/room&jwt=YYYY).
It works fine, but we need to have an ability to ban/oucast misbehaving users on a conference and stop them from login again.
I was trying to use prosody modules with console command (https://prosody.im/doc/console -
muc:room("firstname.lastname@example.org"):set_affiliation(true, "user@host", "outcast");):
, but without luck - I don’t see authenticated users inside prosody rooms after they enter a room.
Do you have some advices for me? Where should I start? I was thinking about these files:
Or maybe this kind of functionality already exists and I simply don’t know about it?