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

how to configure this bundle with symfony and fos user bundle #16

Open
wawryk opened this issue Jan 7, 2016 · 2 comments
Open

how to configure this bundle with symfony and fos user bundle #16

wawryk opened this issue Jan 7, 2016 · 2 comments

Comments

@wawryk
Copy link

wawryk commented Jan 7, 2016

please help me with this

@jbourdic
Copy link

👍 I can't handle the problem that I have. That's throwing the following error

InvalidArgumentException('AutoLoginUserProviderInterface is required and $userProvider is not suitable.

@jmikola
Copy link
Owner

jmikola commented Apr 3, 2016

I don't have any suggestion for this beyond the existing README example. The InvalidArgumentException above is thrown when the user provider for the bundle does not implement the necessary interface (which has a method for resolving an auto-login token to a user object).

If you're using FOSUserBundle, you should likely define a custom user provider service that implements the necessary interface on FOS's end as well as this bundle.

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

3 participants