Authentication

White pages do not require authentication by default, but it can be enabled if needed:

$require_auth = true;

You can then choose wich authentication method to use:

  • LDAP: use login and password to authenticate user on LDAP directory

  • SSO: check an HTTP header to get user login, and check the entry in LDAP directory

LDAP

Enable LDAP authentication backend:

$auth_type = "ldap";

Then configure login attribute and login filter:

$ldap_login_attribute = "uid";
$ldap_login_filter = "(&$ldap_user_filter($ldap_login_attribute={login}))";

Other options are documented in LDAP parameters page.

Header (SSO)

Enable SSO (HTTP header) authentication backend:

$auth_type = "header";

Define the name of HTTP header containing the user login:

$auth_header_name_user = "Auth-User";

Logout

Authenticated users will see a logout link in the menu.

To redirect them after logout on a specific URL:

$logout_link = "https://auth.example.com/logout";

If authentication is not enabled and this parameter is configured, then all users will see a logout link that will redirect them to this URL.

My account menu

To add a menu item to let user display its own entry:

$display_myaccount_menu = true;