dominik-th / matomo-plugin-LoginOIDC

external authentication services for matomo
https://plugins.matomo.org/LoginOIDC/
GNU General Public License v3.0
40 stars 29 forks source link

Avoid conflict between Auth methods #116

Open tacerus opened 2 weeks ago

tacerus commented 2 weeks ago

Resolve:

ERROR Piwik\FrontController Uncaught exception: Error:
Call to undefined method Piwik\Plugins\Login\Auth::setForceLogin()
in /srv/www/matomo/plugins/LoginOIDC/Controller.php:431

It seems it loaded the methods from Piwik\Auth instead of Piwik\Plugins\LoginOIDC\OIDCAuth - which worked for getLogin() (which exists in both files), but failed at setForceLogin() (which only exists in the latter).