stevenmaguire / oauth2-keycloak

Keycloak Provider for OAuth 2.0 Client
MIT License
204 stars 151 forks source link

Failed to get resource owner: Invalid response received from Authorization Server. Expected JSON. #77

Open johnarleycano opened 7 months ago

johnarleycano commented 7 months ago

Hi there.

My oauth works fine, but if the user roles is greather than 60 ( for example), i get the nex error: Failed to get resource owner: Invalid response received from Authorization Server. Expected JSON. If i delete one or two roles from the user, it works again.

Thanks for you support

SquierPro commented 5 months ago

Try write version in new Stevenmaguire\OAuth2\Client\Provider\Keycloak

example: 'version'=> '24.0.2'