Skip to content

Commit 8b7cbc3

Browse files
paweldomassaghul
authored andcommitted
revert "jicofo: no auth URL in JWT auth mode"
1 parent 33b386b commit 8b7cbc3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

jicofo/rootfs/defaults/sip-communicator.properties

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ org.jitsi.jicofo.XMPP_MUC_COMPONENT_PREFIX={{ first (splitList "." .Env.XMPP_MUC
2525
{{ $ENABLE_AUTH := .Env.ENABLE_AUTH | default "0" | toBool }}
2626
{{ $AUTH_TYPE := .Env.AUTH_TYPE | default "internal" }}
2727

28-
{{ if and $ENABLE_AUTH (ne $AUTH_TYPE "jwt") }}
28+
{{ if $ENABLE_AUTH }}
29+
{{ if eq $AUTH_TYPE "jwt" }}
30+
org.jitsi.jicofo.auth.URL=EXT_JWT:{{ .Env.XMPP_DOMAIN }}
31+
{{ else }}
2932
org.jitsi.jicofo.auth.URL=XMPP:{{ .Env.XMPP_DOMAIN }}
33+
{{ end }}
3034
{{ end }}

0 commit comments

Comments
 (0)