In my app I need to be able to let users log in and connect their accounts via OAuth. I'm using HWIOAuthBundle and FOSUserBundle to accomplish that. But there's a problem: when I'm registering via Facebook or whatnot a User
entity is automatically created and persisted to the database, and a token is created for the user.
What I actually need is to only fetch some data the provider gives me and map it to a user yet to be persisted.