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
Too few arguments to function HWI\Bundle\OAuthBundle\Security\Core\User\EntityUserProvider::__construct(), 1 passed in /var/www/myapp/current/var/cache/dev/ContainerEHdpG4W/getSecurity_Authenticator_Oauth_MainService.php on line 47 and at least 3 expected
Expected Behavior
No error on instantiation of HWI\Bundle\OAuthBundle\Security\Core\User\EntityUserProvider
Steps to Reproduce
Follow the documentation and use the provided service hwi_oauth.user.provider.entity as oauth_user_provider:
I think the problem comes from hwi/oauth-bundle/src/Resources/config/oauth.php where only 1 argument is passed to the constructor whereas 3 are expected:
$services->set('hwi_oauth.user.provider.entity', EntityUserProvider::class)
->args([
service('doctrine'),
param('the_name_of_my_user_model'),
param('I dont really understand this one yet'),
]);
This leads me to this question: has this provider ever worked?
The text was updated successfully, but these errors were encountered:
Actual Behavior
Expected Behavior
No error on instantiation of
HWI\Bundle\OAuthBundle\Security\Core\User\EntityUserProvider
Steps to Reproduce
Follow the documentation and use the provided service
hwi_oauth.user.provider.entity
asoauth_user_provider
:Possible Solutions
I think the problem comes from
hwi/oauth-bundle/src/Resources/config/oauth.php
where only 1 argument is passed to the constructor whereas 3 are expected:I would expect something like this:
This leads me to this question: has this provider ever worked?
The text was updated successfully, but these errors were encountered: