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

Update FAQ for Microsoft Office365 / Azure AD #16

Open surphil opened 4 years ago

surphil commented 4 years ago

I tested this credentials for Office 365 with oauth2/v2.0 and graph.microsoft.com and it works without modifying the server routes (I 'm not familiar with Azure ID so it would be nice if someone can confirm this):

se00059 commented 4 years ago

I configured it today but get the following error when redirected to Matomo: The parameter 'state' isn't set in the Request, and a default value wasn't provided.

dotcologne commented 4 years ago

I have the same issue, also get "The parameter 'state' isn't set in the Request, and a default value wasn't provided." Just updated Matomo and the Plugin Version 0.1.5 seems to be latest version. My Matomo configuration looks perfect, does anyone have any advice what's going wrong here?

DenisHoppe commented 4 years ago

Hello and Thanks for update. The rewirte rule for apache is:

<IfModule mod_rewrite.c>
    # Tell PHP that the mod_rewrite module is ENABLED.
    SetEnv HTTP_MOD_REWRITE On

    RewriteEngine on

    #main pages
    RewriteRule oidc/callback /analytics/index.php?module=LoginOIDC&action=callback&provider=oidc  [QSA, R]
</IfModule>

and works Perfect.

dotcologne commented 4 years ago

For the rewrite issue see my comment in https://github.com/dominik-th/matomo-plugin-LoginOIDC/issues/24

MdreW commented 1 year ago

Hi all, I have same problem with nginx, on login i receive a state mismatch error. Do you have any news for this problem?

ToeiRei commented 1 year ago

Same problem with authentik and a rewrite rule on nginx didn't help at all.