Skip to content
Snippets Groups Projects
Select Git revision
  • 928d22e5f10749cf5f1ed177b2cdd159049aed02
  • main default protected
  • 2.0
  • 1.3
4 results

jitsi-cert-auth

  • Clone with SSH
  • Clone with HTTPS
  • Jan Hartig's avatar
    Jan Hartig authored
    Update sanic and aiofiles
    
    See merge request !19
    928d22e5
    History

    Small Sanic app for Jitsi user authentification / room generation.

    Provides additional user validation based on supplied client cert and redirects to custom rooms based on client certificate serial number.

    Usage

    Configure the container registry.

    Sample docker-compose.yml:

    version: "3.9"
    services:
      cert2room:
        image: registry.gitlab1.ptb.de/janhartig/jitsi-cert-auth:latest
        restart: unless-stopped
        ports:
          - 8000:8000
        environment:
          - TZ=Europe/Berlin
          - SANIC_JITSI_PUBLIC_URL=vc.ptb.de
          - SANIC_JITSI_APP_ID=MY_APP_ID
          - SANIC_JITSI_APP_SECRET=MY_VERY_SECURE_SECRET
          - SANIC_TOKEN_VALID_FOR=15
        volumes:
          - /path/to/serial2room.json:/data/serial2room.json:ro

    docker compose up -d