You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Might help someone in the future so I am reporting it here.
After setting up and configuring the application it is not possible to log into it. The application error log contains this message:
[2023-06-15T08:37:44.327397+00:00] request.CRITICAL: Uncaught PHP Exceptio
n UnexpectedValueException: "Failed to parse JSON response: Syntax error"
at /var/www/jitsi-admin/vendor/league/oauth2-client/src/Provider/AbstractP
rovider.php line 645 {"exception":"[object] (UnexpectedValueException(code
: 0): Failed to parse JSON response: Syntax error at /var/www/jitsi-admin/
vendor/league/oauth2-client/src/Provider/AbstractProvider.php:645)"} []
Hello @brickhousewindow,
thanks a lot for the detailed issue.
Was this happening in a docker installation or plain jitsi-admin installation?
This issue is a know issue and depends on your keycloak version.
Keycloak21, which I think you use, needs now the openid scope. This is fixed in the Version 0.76.0 which will be released soon. We are working on this version on the freeze Branch.
Below KC21 there is no issue.
So unfortunantaly this bugs is on keycloak side because they change now from an own oauth implementation to the official oauth2 implementation.
yes, the Keycloak version is 21.x. It was tested with a plain jitsi-admin installation. It is true that the bug, or rather configuration change, is on the keycloak side. I wanted to report it as it caused a ton of head scratching. It hopefully helps other and future users resolving this kind of issue.
Describe the bug
Might help someone in the future so I am reporting it here.
After setting up and configuring the application it is not possible to log into it. The application error log contains this message:
The keycloak log contains this message:
To Reproduce
Steps to reproduce the behavior:
Branch or Version you using
version 0.75.5
Expected behavior
The user is logged in successfully.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Solution
The openid scope is missing inside the keycloak client scope. An instruction can be found here: https://keycloak.discourse.group/t/issue-on-userinfo-endpoint-at-keycloak-20/18461/3
Steps to fix it:
edit: fixed typo
The text was updated successfully, but these errors were encountered: