plugin:genericsso
Table of Contents
genericsso Plugin
Compatible with DokuWiki
2013-05-10 “Weatherwax”
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Similar to shibbolethauth
This plugin replaces shibbolethauth for DokuWiki > 2013-05-10 “Weatherwax”.
It allows to authenticate against any SSO system that sets an environment variable with the user ID after authentication (such as Shibboleth).
Installation
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
Configuration and Settings
Parameter name | Type | Signification | Example value |
---|---|---|---|
emailAttribute | string | Environment variable to use as the user id and email | HTTP_MAIL |
alwaysCheck | boolean | Does the plugin needs to check if the SP session is still open for each request (otherwise the wiki session will only be closed at logout) | 0 |
loginURL | string | URL to use for loging-in, may contain {target} placeholder that will be replaced by the URL to return to after login | http://my-sso-server.tld/sso/login?after_auth_goto={target} |
logoutURL | string | URL to use for loging-out, may contain {target} placeholder that will be replaced by the URL to return to after logout | http://my-sso-server.tld/sso/logout?go_back_to={target} |
Sample php config using Shibboleth
$conf['plugin']['genericsso']['emailAttribute'] = 'mail'; $conf['plugin']['genericsso']['alwaysCheck'] = 1; $conf['plugin']['genericsso']['loginURL'] = 'http://'.$_SERVER['SERVER_NAME'].'/Shibboleth.sso/Login?target={target}'; $conf['plugin']['genericsso']['logoutURL'] = 'http://'.$_SERVER['SERVER_NAME'].'/Shibboleth.sso/Logout?return={target}';
plugin/genericsso.txt · Last modified: 2018-05-31 00:25 by Klap-in