Login to jitsi with keycloak https://github.com/d3473r/jitsi-keycloak/pkgs/container/jitsi-keycloak
npm install
Add a public openid-connect client in your keycloak realm
Download the keycloak.json
file for your client and put it in the config directory.
Allow this app from keycloak (jitsi-keycloak
running on https://auth.meet.example.com):
If you want to have an avatar displayed in jitsi you can add an avatar custom attribute in keycloak to your desired users:
ENABLE_AUTH=1
, AUTH_TYPE=jwt
and JWT_APP_ID=jitsi
in your jitsi environmentJWT_APP_SECRET
to a random string (e.g. node -e "console.log(require('crypto').randomBytes(24).toString('base64'));"
)TOKEN_AUTH_URL=https://auth.example.com/{room}
app.js
or pass them as environment variables:JITSI_SECRET
with the shared secret from jitsi JWT_APP_SECRET
.DEFAULT_ROOM
with a default room name e.g. meeting
JITSI_URL
with the url of your jitsi server e.g. https://meet.example.com
npm run dev
docker build -t jitsi-keycloak .
docker run -it --rm -p 3000:3000 -v $(pwd)/config:/config jitsi-keycloak
docker-compose up -d