mvandermeulen / jitsi-keycloak

Login to jitsi with keycloak https://hub.docker.com/r/d3473r/jitsi-keycloak

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jitsi-keycloak

Docker Cloud Build Status Docker Pulls Docker Image Size (tag)

Installation

  • npm install

Configuration

Keycloak

  • 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): keycloak

  • If you want to have an avatar displayed in jitsi you can add an avatar custom attribute in keycloak to your desired users: avatar

Jitsi

  • Set ENABLE_AUTH=1, AUTH_TYPE=jwt and JWT_APP_ID=jitsi in your jitsi environment
  • Set JWT_APP_SECRET to a random string (e.g. node -e "console.log(require('crypto').randomBytes(24).toString('base64'));")
  • To enable an automatic redirect from jitsi to login set the url of this containerTOKEN_AUTH_URL=https://auth.example.com/{room}

Replace the following placeholders in 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
  • JITSI_SUB with your jitsi server sub e.g. meet.example.com

Run

  • npm run dev

Build with docker

  • docker build -t jitsi-keycloak .

Run with docker

  • docker run -it --rm -p 3000:3000 -v $(pwd)/config:/config jitsi-keycloak

Run with docker-compose in example directory

  • docker-compose up -d

About

Login to jitsi with keycloak https://hub.docker.com/r/d3473r/jitsi-keycloak

License:MIT License


Languages

Language:JavaScript 47.0%Language:Vue 39.8%Language:HTML 8.0%Language:Dockerfile 5.2%