web: add ability to configure tokenAuthUrl

This commit is contained in:
D3473R
2020-11-19 12:43:26 +01:00
committed by GitHub
parent e5746ae0f4
commit 6b69576c2f
3 changed files with 9 additions and 0 deletions

View File

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

View File

@@ -335,3 +335,6 @@ JIBRI_LOGS_DIR=/config/logs
# Container restart policy # Container restart policy
# Defaults to unless-stopped # Defaults to unless-stopped
RESTART_POLICY=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}

View File

@@ -255,6 +255,11 @@ config.transcribingEnabled = {{ $ENABLE_TRANSCRIPTIONS }};
config.brandingDataUrl = '{{ .Env.BRANDING_DATA_URL }}'; config.brandingDataUrl = '{{ .Env.BRANDING_DATA_URL }}';
{{ end -}} {{ 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. // Deployment information.
// //