roundcubemail-plugins-kolab/plugins/kolab_sso/config.inc.php.dist
Aleksander Machniak 2efad48657 SSO + SMTP
2018-11-19 14:31:46 +00:00

54 lines
1.8 KiB
Text

<?php
// Enable debugging
$config['kolab_sso_debug'] = true;
// IMAP (master) user
$config['kolab_sso_username'] = 'cyrus-admin';
// IMAP (master) password
$config['kolab_sso_password'] = 'password';
// SMTP server host
// To override the SMTP port or connection method, provide a full URL like 'tls://somehost:587'
$config['kolab_sso_smtp_server'] = null;
// SMTP username
$config['kolab_sso_smtp_user'] = '';
// SMTP password
$config['kolab_sso_smtp_pass'] = '';
// Require SSO logon by removing possibility to logon with user/password
$config['kolab_sso_disable_login'] = false;
// SSO providers/configuration
$config['kolab_sso_options'] = array();
/* Example:
$config['kolab_sso_options'] = array(
'keycloak' => array(
// User-friendly name (will be displayed in the button label)
'name' => 'OpenIDC Test',
// Driver name
'driver' => 'openidc',
// Provider API URI
'uri' => 'https://kolab.eu.auth0.com',
// Client ID/Secret for the API
'client_id' => '20w6DXX69isNBaufCwyK24wkBHqPT2ht',
'client_secret' => 'd78McGW4UWfFyZprGd8BCKooll',
// Token URI, if different than <uri>/token
'token_uri' => 'https://kolab.eu.auth0.com/oauth/token',
// Authorize URI, if different than <uri>/authorize
'authorize_uri' => 'https://kolab.eu.auth0.com/authorize',
// Response URI, by default we use https://domain.tld/path?_task=login&_action=sso
// Define it if the Provider does not allow above
// to use https://domain.tld/path/<response_uri> instead
'response_uri' => '/sso',
// Public key for token validation when using RS256/RS385/RS512 method
'pubkey' => '-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
',
),
);
*/