Issue integrating Stevenmaguire/keycloak with symfony 6

Viewed 34

I was wondering if anyone has come across this with symfony 6.1 yet. For the life of me i cannot find anything that points me in the right direction of a fix for this. I have this authenticating correctly to a keycloak server, But it fails processing the response somehow.

Error security.INFO: Authenticator failed. {"exception":"[object] (Symfony\Component\Security\Core\Exception\AuthenticationServiceException(code: 0): The user provider must return a UserInterface object, "Stevenmaguire\OAuth2\Client\Provider\KeycloakResourceOwner" given. at /var/www/my_project/vendor/symfony/security-http/Authenticator/Passport/Badge/UserBadge.php:83)","authenticator":"App\Security\KeycloakAuthenticator"} []

0 Answers
Related