dominik-th / matomo-plugin-LoginOIDC

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

OAuth state mismatch with AD FS 2019 #105

Closed christophvw closed 9 months ago

christophvw commented 9 months ago

I cannot get it to work with AD FS :/

I always get "OAuth state mismatch"

Is there any debug.log I where I can see more details?

https://adfs-fqdn/adfs/oauth2/authorize https://adfs-fqdn/adfs/oauth2/token https://adfs-fqdn/adfs/userinfo

Userinfo ID sub

OAuth Scopes openid email

user defined callback URL https://matomo-fqdn/oidc/callback

URL rewrite in Matomo Apache config: RewriteEngine On RewriteRule ^/oidc/callback /index.php?module=LoginOIDC&action=callback&provider=oidc [QSA,R,L]