From c89ccc9727d45d76c013798801d6fdc83887023b Mon Sep 17 00:00:00 2001 From: duritong Date: Wed, 17 Feb 2021 15:26:37 +0100 Subject: [PATCH] jicofo: reintroduce shibboleth auth Fixes #956 --- jicofo/rootfs/defaults/jicofo.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/jicofo/rootfs/defaults/jicofo.conf b/jicofo/rootfs/defaults/jicofo.conf index 0a75a5c..cd7c0d2 100644 --- a/jicofo/rootfs/defaults/jicofo.conf +++ b/jicofo/rootfs/defaults/jicofo.conf @@ -9,10 +9,17 @@ jicofo { // The type of authentication. Supported values are XMPP, JWT or SHIBBOLETH (default). {{ if eq $AUTH_TYPE "jwt" }} type = JWT + {{ else if eq $AUTH_TYPE "shibboleth" }} + type = SHIBBOLETH {{ else }} type = XMPP {{ end }} + {{ if eq $AUTH_TYPE "shibboleth" }} + login-url = "shibboleth:default" + logout-url = "shibboleth:default" + {{ else }} login-url = "{{ .Env.XMPP_DOMAIN }}" + {{ end }} } {{ end }}