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

@@ -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.
//