Allows to authenticate against any SSO system that set environment variables
Compatible with DokuWiki
Similar to shibbolethauth
This plugin replaces shibbolethauth for DokuWiki > 2013-05-10 “Weatherwax”.
It allows to authenticate against any SSO system that sets environment variables or HTTP headers with the user attributes after authentication (such as Shibboleth).
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
| Parameter name | Type | Signification | Default value |
|---|---|---|---|
| autologin | bool | Automatically logs user in if attributes are available | false |
| headers | bool | Get attributes from HTTP headers instead of ENV variables (used when behind a SAML proxy | false |
| login_url | string | Service provider login trigger URL, {target} will be replaced by the URL of the page to return to | /sso/login?target={target} |
| logout_url | string | Service provider logout trigger URL, {target} will be replaced by the URL of the page to return to | /sso/logout?target={target} |
| home_url | string | URL to return to after logout | / |
| idp_attribute | string | Attribute to use as identity provider identifier | REMOTE_USER |
| id_attribute | string | Attribute to use as user identifier | REMOTE_USER |
| email_attribute | string | Attribute to use as user email | REMOTE_USER |
| fullname_attribute | string | Attribute to use as user name | REMOTE_USER |
$conf['plugin']['genericsso']['id_attribute'] = 'eppn'; $conf['plugin']['genericsso']['email_attribute'] = 'mail'; $conf['plugin']['genericsso']['fullname_attribute'] = 'dn'; $conf['plugin']['genericsso']['autologin'] = 1; $conf['plugin']['genericsso']['login_url'] = 'http://'.$_SERVER['SERVER_NAME'].'/Shibboleth.sso/Login?target={target}'; $conf['plugin']['genericsso']['logout_url'] = 'http://'.$_SERVER['SERVER_NAME'].'/Shibboleth.sso/Logout?return={target}';