dominik-th / matomo-plugin-LoginOIDC

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

Settings cannot be saved with v3.0.0 #34

Closed ev0lister closed 3 years ago

ev0lister commented 3 years ago

Settings for initial setup cannot be saved with version 3.0.0. - I do get an HTTP500 with JSON "Class 'Piwik\\Plugins\\LoginOIDC\\Exception' not found" - Works fine with previous version though.

Best regards Stefan

dominik-th commented 3 years ago

Hi Stefan!

I can reproduce the issue when I leave the "Restrict user creation to domains" text field empty. As a workaround you can whitelist a domain for user creation.

ev0lister commented 3 years ago

Okay, what I did is patching as in pull req. #30 described. Afterwards indeed it shows that the "Restrict user creation to domains" text field cannot be empty - it now shows properly the error message. This was not the case before the patch.

dominik-th commented 3 years ago

Fixed in 3.0.1