45 lines
1.5 KiB
Text
45 lines
1.5 KiB
Text
|
<?php
|
||
|
|
||
|
// Enable debugging
|
||
|
$config['kolab_sso_debug'] = true;
|
||
|
|
||
|
// Proxy user
|
||
|
$config['kolab_sso_username'] = 'cyrus-admin';
|
||
|
|
||
|
// Proxy user password
|
||
|
$config['kolab_sso_password'] = 'password';
|
||
|
|
||
|
// 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-----
|
||
|
',
|
||
|
),
|
||
|
);
|
||
|
*/
|