-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.inc.php.dist
46 lines (33 loc) · 1.29 KB
/
config.inc.php.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
$config = array();
// ----------------- IMAP --------------------
// Master password to fallback to in case the OIDC provider
// does not supply a cleartext password
$config['oidc_imap_master_password'] = '';
// Master user separator for Dovecot
// https://doc.dovecot.org/configuration_manual/authentication/master_users/
// https://docs.iredmail.org/dovecot.master.user.html
$config['oidc_master_user_separator'] = '*';
// Master user to append after separator
// Set to blank to not use a master user
$config['oidc_config_master_user'] = '';
// --------------- Provider ------------------
// URL for OIDC
$config['oidc_url'] = 'https://oidc.example.com';
// Client ID already registered on the provider
$config['oidc_client'] = 'client_id';
// Client secret corresponding to the given client ID
$config['oidc_secret'] = 'my_secret';
// OIDC scope
$config['oidc_scope'] = 'openid';
// -------------- User Fields -----------------
// Field for login UID. This may be an email ID
$config['oidc_field_uid'] = 'mail';
// Field for cleartext password
$config['oidc_field_password'] = 'password';
// Field for IMAP server
$config['oidc_field_server'] = 'imap_server';
// Alternative login page
// This page gets included on login page
// Any errors will be reported as $ERROR
$config['oidc_login_page'] = '';