|
|
@ -28,20 +28,13 @@ jicofo { |
|
|
|
{{ if $JICOFO_ENABLE_AUTH }} |
|
|
|
{{ if $JICOFO_ENABLE_AUTH }} |
|
|
|
authentication { |
|
|
|
authentication { |
|
|
|
enabled = true |
|
|
|
enabled = true |
|
|
|
// The type of authentication. Supported values are XMPP, JWT or SHIBBOLETH (default). |
|
|
|
// The type of authentication. Supported values are XMPP or JWT. |
|
|
|
{{ 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 = "{{ $XMPP_DOMAIN }}" |
|
|
|
login-url = "{{ $XMPP_DOMAIN }}" |
|
|
|
{{ end }} |
|
|
|
|
|
|
|
enable-auto-login={{ $ENABLE_AUTO_LOGIN }} |
|
|
|
enable-auto-login={{ $ENABLE_AUTO_LOGIN }} |
|
|
|
} |
|
|
|
} |
|
|
|
{{ end }} |
|
|
|
{{ end }} |
|
|
|