mirror of
https://github.com/zokradonh/kopano-docker.git
synced 2026-08-24 22:55:36 +00:00
Configuration file for OpenIdConnect integration is now generated on … (#5)
* Configuration file for OpenIdConnect integration is now generated on container startup * Add a startup dependency to owncloud phoenix Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
committed by
Felix Bartels
parent
2564e34f3a
commit
753dc21eae
@@ -6,4 +6,25 @@ set -x
|
||||
|
||||
occ app:enable openidconnect
|
||||
|
||||
TODAY=$(date)
|
||||
cat <<EOF >/mnt/data/config/konnectd.config.php
|
||||
// Generated on $TODAY
|
||||
<?php
|
||||
\$CONFIG = [
|
||||
'loglevel' => 0,
|
||||
'debug' => true,
|
||||
'openid-connect' => [
|
||||
'provider-url' => 'https://$OWNCLOUD_DOMAIN',
|
||||
'client-id' => 'ownCloud',
|
||||
'client-secret' => 'ownCloud',
|
||||
'loginButtonName' => 'kopano',
|
||||
'autoRedirectOnLoginPage' => false,
|
||||
'redirect-url' => 'https://$OWNCLOUD_DOMAIN/owncloud/index.php/apps/openidconnect/redirect',
|
||||
'mode' => 'email',
|
||||
'search-attribute' => 'email',
|
||||
'use-token-introspection-endpoint' => false
|
||||
],
|
||||
];
|
||||
EOF
|
||||
|
||||
true
|
||||
|
||||
Reference in New Issue
Block a user