I’m using OAuth2 plugin 5.1.0
After upgrade to Matomo 5.11 i can obtain a token by client credentials but the token is always rejected by the api with message:
You can’t access this resource as it requires a ‘superuser’ access
Just to clarify, prior to upgrading to 5.11 the same user didn’t have this issue?
Exactly, prior to upgrade didn’t have the issue with the same oauth client credentials. Even creating a new client doesn’t help.
I also did upgrade the OAuth2 plugin, togheter with Matomo core. Could it be a regression related to commit 21b452c in OAuth2 plugin? (I can’t post links)
@LR17 We have identified an issue, will try and fix that and release a new version soon.
@LR17 A new version of the plugin was released, please check ![]()
It works now, thank you.
Thanks for the update! I’ll upgrade to the latest version of the OAuth2 plugin and test it. Hopefully that resolves the superuser access issue. I’ll report back if I still encounter the problem.