You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Declaration of auth_plugin_authshibboleth::trustExternal() must be compatible with dokuwiki\Extension\AuthPlugin::trustExternal($user, $pass, $sticky = false)
#19
Open
andrea-janna opened this issue
Jul 11, 2023
· 0 comments
When I enable 'authshibboleth' authentication the following error is displayed in the browser instead of the wiki pages:
"dokuwiki\Exception\FatalException: Declaration of auth_plugin_authshibboleth::trustExternal() must be compatible with dokuwiki\Extension\AuthPlugin::trustExternal($user, $pass, $sticky = false)".
So I modified the file plugins/authshibboleth/auth.php replacing the line "public function trustExternal()" with "public function trustExternal($user, $pass, $sticky = false)".
I've been running the wiki for a few days since that and it seems that the issue is fixed.
The text was updated successfully, but these errors were encountered:
I'm using Dokuwiki version 2022-07-31b "Igor".
When I enable 'authshibboleth' authentication the following error is displayed in the browser instead of the wiki pages:
"dokuwiki\Exception\FatalException: Declaration of auth_plugin_authshibboleth::trustExternal() must be compatible with dokuwiki\Extension\AuthPlugin::trustExternal($user, $pass, $sticky = false)".
So I modified the file plugins/authshibboleth/auth.php replacing the line "public function trustExternal()" with "public function trustExternal($user, $pass, $sticky = false)".
I've been running the wiki for a few days since that and it seems that the issue is fixed.
The text was updated successfully, but these errors were encountered: