proxyauth/config/proxyauth.config.php

37 lines
979 B
PHP
Raw Normal View History

2020-06-13 09:21:22 +00:00
<?php
2020-06-13 09:37:05 +00:00
// DO NOT EDIT - Default values. Overrides should be placed in main config/addon.config.php file
2020-06-13 09:21:22 +00:00
return array(
'proxyauth' => array(
2020-06-13 09:37:05 +00:00
// (bool) To replace the login form with a single button
2020-06-13 09:21:22 +00:00
'replace_form' => false,
2020-06-13 09:37:05 +00:00
// (string) Text for single signon button
2020-06-13 09:21:22 +00:00
'button_text' => 'Login with SSO',
2020-06-13 09:37:05 +00:00
// (bool) To set remember me
2020-06-13 09:21:22 +00:00
'remember' => true,
2020-06-13 09:37:05 +00:00
// (string) Domain of SSO portal
// May be needed to prevent redirect loop on logout
2020-06-13 09:21:22 +00:00
'sso_domain' => '',
2020-06-13 09:37:05 +00:00
// (string) URL to redirect to after logout
// will use an internal redirect to /logout_ssoif not set
2020-06-13 09:21:22 +00:00
'logout_url' => '',
2020-06-13 09:37:05 +00:00
// (bool) To automatically create a new account
2020-06-13 09:21:22 +00:00
'create_account' => true,
2020-06-13 09:37:05 +00:00
// (string) Index of $_SERVER containing the username - REQUIRED
2020-06-13 09:21:22 +00:00
'username_header' => 'REMOTE_USER',
2020-06-13 09:37:05 +00:00
// (string) Index of $_SERVER containing the user's email address
2020-06-13 09:21:22 +00:00
'email_header' => '',
2020-06-13 09:37:05 +00:00
// (string) Index of $_SERVER containing the user's fullname
2020-06-13 09:21:22 +00:00
'fullname_header' => ''
)
);