Closed makasim closed 12 years ago
the solution for now to create a relation between user and identities with fetch eager option. The doc is updated.
@makasim, I have enabled fetch="EAGER"
but still token is lost, could you please give me some points?
Or maybe I just using something wrong, I interactively create user and I am getting this exception:
if (false == $token instanceof OpenIdToken) {
throw new \LogicException('The failure does not contain OpenIdToken, Is the failure come from openid?');
}
Sorry, this was not the point.
The provider (FOSUSerManager for example) cannot refreshUser because it is a serialized proxy class. So when you call getId method it will try to load an entity and faild to do it.