edgardmessias / glpi-singlesignon

GNU General Public License v3.0
68 stars 51 forks source link

"User is not authorized to connect in GLPI" with last Edge browser #84

Closed fabriceverkor closed 5 months ago

fabriceverkor commented 5 months ago

We use singlesignon plugin with Azure App registration. After upgrade to Edge 123.0.2420.53 we have a strange behaviour of GLPI (10.0.10) and singlesignon plugin (1.3.3) :

Both URLS works fine with Firefox, Chrome and Brave.

If I understand well, Microsoft authentication works fine, otherwise, we should get a Microsoft popup saying that it's wrong.

Any idea what's happening ? I there any debug mode to understand why GLPI reacts differently ? Thx

fabriceverkor commented 5 months ago

Some additional informations :

BEGIN

getAccessToken: Array ( [error] => invalid_grant [error_description] => AADSTS54005: OAuth2 Authorization code was already redeemed, please retry with a new valid code or use an existing refresh token. Trace ID: 3068dfc7-d05e-4b94-a831-d1db6d2d1000 Correlation ID: 6586e8fe-e94c-4a50-8fc3-2e97f846039c Timestamp: 2024-03-27 10:35:03Z [error_codes] => Array ( [0] => 54005 )

[timestamp] => 2024-03-27 10:35:03Z
[trace_id] => 3068dfc7-d05e-4b94-a831-d1db6d2d1000
[correlation_id] => 6586e8fe-e94c-4a50-8fc3-2e97f846039c

)

END

fabriceverkor commented 5 months ago

Finally, it seems that the problem was solved with last Edge version : https://learn.microsoft.com/en-us/deployedge/microsoft-edge-relnote-stable-channel#version-1230242065-march-27-2024