element-hq / element-call

Group calls powered by Matrix
https://call.element.io
GNU Affero General Public License v3.0
576 stars 89 forks source link

Disable registration on synapse but still be able to invite guest to element call (url and waiting room) #940

Open Thatoo opened 1 year ago

Thatoo commented 1 year ago

Your use case

What would you like to do?

I would like to disable registration on my synapse server but still be able to invite guests on a call I launch on Element call.

Why would you like to do it?

Because my synapse server is small, only for the need of my little company (4 people) so I don't want to open registration but we would need sometime to invite people to a meeting on a call giving them a link.

How would you like to achieve it?

By adding these kind of config line to homeserver.yaml :

enable_registration: false
allow_guest_access_to_call: true
url_element_call_server: call.matrix.server-name.xyz
turn_allow_guests: true

And be able to config in element-call that a user who started a call can invite guests (and accept them when they are on a kind of waiting room).

Have you considered any alternatives?

I created a second synapse server with registration open dedicated to our element-call. That mean I need the double of server resources and I need to configure, set and maintain two synapse server instead of one. And anybody who knows the url of our element-call could use it and take ressources of our server.

Additional context

No response

saket424 commented 1 year ago

Have you considered enabling oidc in synapse instead of outright disabling registration? This will add an additional hurdle to keep casual users from registering fake accounts on your server. I am also working on a similar use case and yet to attempt oidc. Will be doing so shortly and will report back on my findings

Thatoo commented 1 year ago

The question is not about considereing oidc or any authentification system. The idea is that we want registered user only be able to start a call, being voice or video call, but still be able to invite non users to join that call thanks to a link without the need to authenticate (and certainly not register). These guest would be authorized to enter the call by the user who initiated it. The idea is to be able to :

saket424 commented 1 year ago

I fully endorse this approach that you outlined above. What is missing for us to have this functionality?

rwjack commented 8 months ago

Apart from:

The invitation URL should be generated on the fly by the creator/admin of the call, with a "use" counter, so guests cannot share the URL other, potentially non-invited guests.

jim3692 commented 4 months ago

Is this related to Element Call Video Rooms? I am facing a similar issue. We have a video room that we (the registered users) chat, but we occasionally need to invite people that are not registered to Matrix. This is very easy to do with Jitsi Video Rooms, but we are looking to move to Element Calls instead.

CC: @IceDBorn