matomo-plugin-LoginOIDC
matomo-plugin-LoginOIDC copied to clipboard
Unexpected response from OAuth service
Currently we are testing the Login OIDC plugin with the AWS Cognito but we are getting the below issue.
Any help would be much appreciated
I'm having this issue too. I'm getting the following line in my log file:
WARNING LoginOIDC[2022-12-23 21:46:14 UTC] [a5e20] /matomo/plugins/LoginOIDC/Controller.php(254): Warning - Undefined property: stdClass::$username - Matomo 4.13.0 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already) #0/plugins/LoginOIDC/Controller.php(254),[internal function]: Piwik\Plugins\LoginOIDC\Controller->callback(),#2/core/FrontController.php(631),#3/core/FrontController.php(169),#4/core/dispatch.php(32),#5/index.php(25)
Same issue here.
I can sign in with my user, but the response fails.
I have everything set up as https://github.com/dominik-th/matomo-plugin-LoginOIDC/issues/5 Including the NGINX redirect.
did you somehow fixed it? im stuck at the same issue
i fixed it for me. I followed this advice: https://github.com/dominik-th/matomo-plugin-LoginOIDC/issues/5#issuecomment-500903400 and discoverd, that i c&p the wrong token url for my oidc config for Keycloak, i used:
https://auth.xxx.de/auth/realms/xxx/protocol/openid-connect/access_token but the correct should be: https://auth.xxx.de/auth/realms/xxx/protocol/openid-connect/token
I hope this helps you too