dominik-th / matomo-plugin-LoginOIDC

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

Exception: "Unexpected response from OAuth service" because of InvalidAuthenticationToken from Azure AD #111

Closed peterbo closed 6 months ago

peterbo commented 6 months ago

I was getting an Exception "Unexpected response from OAuth service". When extending the error (var_dump in code), this error was displayed (returned from Azure):

string(519) "{"error":{"code":"InvalidAuthenticationToken","message":"IDX14100: JWT is not well formed, there are no dots (.).\nThe token needs to be in JWS or JWE Compact Serialization Format. (JWS): 'EncodedHeader.EndcodedPayload.EncodedSignature'. (JWE): 'EncodedProtectedHeader.EncodedEncryptedKey.EncodedInitializationVector.EncodedCiphertext.EncodedAuthenticationTag'.[...]

peterbo commented 6 months ago

Seems to have been another issue with the Configuration / flow. Closed!