jicofo: reintroduce shibboleth auth

Fixes #956
This commit is contained in:
duritong 2021-02-17 15:26:37 +01:00 committed by GitHub
parent a6486b4555
commit c89ccc9727
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 }}