@@ -9,10 +9,17 @@ jicofo {
|
|||||||
// The type of authentication. Supported values are XMPP, JWT or SHIBBOLETH (default).
|
// The type of authentication. Supported values are XMPP, JWT or SHIBBOLETH (default).
|
||||||
{{ if eq $AUTH_TYPE "jwt" }}
|
{{ if eq $AUTH_TYPE "jwt" }}
|
||||||
type = JWT
|
type = JWT
|
||||||
|
{{ else if eq $AUTH_TYPE "shibboleth" }}
|
||||||
|
type = SHIBBOLETH
|
||||||
{{ else }}
|
{{ else }}
|
||||||
type = XMPP
|
type = XMPP
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ if eq $AUTH_TYPE "shibboleth" }}
|
||||||
|
login-url = "shibboleth:default"
|
||||||
|
logout-url = "shibboleth:default"
|
||||||
|
{{ else }}
|
||||||
login-url = "{{ .Env.XMPP_DOMAIN }}"
|
login-url = "{{ .Env.XMPP_DOMAIN }}"
|
||||||
|
{{ end }}
|
||||||
}
|
}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user