Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1 passed to Symfony\Component\Security\Core\User\UserChecker::checkPreAuth() must be an instance of Symfony\Component\Security\Core\User\UserInterface, string give #629

Open
ghost opened this issue Oct 9, 2019 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 9, 2019

Hi, i'm on symfony 4.3.3 application and i'm using FosoauthServerBundle with Fosuserbundle.
When i'm try to challenge my api on localhost i get this error message : Argument 1 passed to Symfony\\Component\\Security\\Core\\User\\UserChecker::checkPreAuth() must be an instance of Symfony\\Component\\Security\\Core\\User\\UserInterface, string given, called in /var/www/seris-api-extranet/vendor/friendsofsymfony/oauth-server-bundle/Security/Authentication/Provider/OAuthProvider.php on line 76"

into my dev.log file, i have : Argument 1 passed to Symfony\Component\Security\Core\User\UserChecker::checkPreAuth() must be an instance of Symfony\Component\Security\Core\User\UserInterface, string give && User Deprecated: Calling the "FOS\OAuthServerBundle\Security\Firewall\OAuthListener::handle() .....

please help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants