Open symfony-spb opened 10 years ago
Can you confirm that #204 fix resolved your problem - I don't use Doctrine at all, so can't definitely tell by just looking at.
Yes, I confirm that #204 resolve my problem
In that case can I ask you to rebase and squash your commits?
I'm using FOSUserBundle and MongoDB. Now I try to integrate FOSOAuthserverBundle.
I'm using this article http://blog.tankist.de/blog/2013/07/17/oauth2-explained-part-2-setting-up-oauth2-with-symfony2-using-fosoauthserverbundle/ as example.
Most parts are working now except I can't get authenticated user
$user = $this->container->get('security.context')->getToken()->getUser();
There is no user profile in user object.
I think the problem is that Doctrine ODM classes have no reverence to user document like ORM have. Can anyone tell me why ODM classes have no reverence to user?
Any help is apprisiated.