web: add ability to configure tokenAuthUrl

pull/434/merge
D3473R 4 years ago committed by GitHub
parent e5746ae0f4
commit 6b69576c2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      docker-compose.yml
  2. 3
      env.example
  3. 5
      web/rootfs/defaults/settings-config.js

@ -88,6 +88,7 @@ services:
- XMPP_GUEST_DOMAIN
- XMPP_MUC_DOMAIN
- XMPP_RECORDER_DOMAIN
- TOKEN_AUTH_URL
networks:
meet.jitsi:
aliases:

@ -335,3 +335,6 @@ JIBRI_LOGS_DIR=/config/logs
# Container restart policy
# Defaults to unless-stopped
RESTART_POLICY=unless-stopped
# Authenticate using external service or just focus external auth window if there is one already.
# TOKEN_AUTH_URL=https://auth.meet.example.com/{room}

@ -255,6 +255,11 @@ config.transcribingEnabled = {{ $ENABLE_TRANSCRIPTIONS }};
config.brandingDataUrl = '{{ .Env.BRANDING_DATA_URL }}';
{{ end -}}
{{ if .Env.TOKEN_AUTH_URL -}}
// Authenticate using external service or just focus external auth window if there is one already.
config.tokenAuthUrl = '{{ .Env.TOKEN_AUTH_URL }}';
{{ end -}}
// Deployment information.
//

Loading…
Cancel
Save