dominik-th / matomo-plugin-LoginOIDC

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

Issues LoginOIDC + ADFS #7

Closed miguel-eguizabal closed 4 years ago

miguel-eguizabal commented 4 years ago

Hello,

We are trying to configure Matomo to perform the login using our ADFS, but we are receiving one error from the plugin. Let me share the details:

Since ADFS does not support query parameters for callback URL, we are using this override, and we have a nginx in front of matomo instance to perform the redirection to appropriate matomo URL.

When we try to login, the request is properly redirected to our ADFS, but when the request comes back to Matomo, unfortunately we are receiving the following error message:

An error occurred Unknown OAuth provider.

Please, do you have any clue about why we are receiving this error? Maybe we are misconfiguring something. Let me know if further information is needed.

Thanks a lot in advance!

dominik-th commented 4 years ago

Hi there,

I am pretty sure the issue is somewhere in your nginx configuration.

Make sure you set the 'provider' parameter to 'oidc' as mentioned in the FAQ

miguel-eguizabal commented 4 years ago

Hi Dominik,

Sorry for my late response, and thank you so much for your help.

You were completely right, the redirection was not properly configured in nginx, and query parameters was not properly added.

Let me close the issue. Thanks again!