Skip to content

Organize Jitsi Servers via keycloak groups

holema edited this page Sep 10, 2024 · 3 revisions

Manage Jitsi Servers with keycloak groups

Set up Jitsi-admin and Keycloak

Add a new group in Keycloak

you need at least a group to connect servers to

you need a group for admins which are alloed to creat new servers on the jitsi-admin image

Add now add Users to the group which you just have created. By selecting the group and then add the users in the tab members

Create new group mapper

image image image image image image

select if you want to allow that all users can create new server or only the admins

set in the env.local: laf_CreateServerOpenToEveryone=0

select which keycloak group a user needs to create a new server. This mostly is called admin.

laf_keycloakGroupToCreateServer=/admin

set an email adress which user can see if they are not alled to setup a new server.

laf_administratorEmail=myAdmin@localhost.de

Connect usergroup with a server

in the GUI after creating a server you can add in the extra options keycloak groups or email domains which are allowed to use the server.

a keycloakgroup looks like this: /all

if you use windows, you need to put an leading slash infront of the group so it looks like this ://all

remove ServerId from a keycloakgroup

You can remove a keycloakgroup or domain which is allowed to use the server directly from the GUI by pressing the trash

a keycloakgroup looks like this: /all

if you use windows, you need to put an leading slash infront of the group so it looks like this ://all

Result

all users which are in the keycloakgroup can now create rooms in the server which is attached via the keycloak group