Symfony2: unable to impersonate user when website log-in using two different user providers
问题 In my website user can log-in with simple account (created in my website, configured MY_OWN_USER provider, which selects user by email) or using facebook log-in (integrated through fosfacebook bundle). When i'm trying to impersonate user (appending link '...?_switch_user=demo@demo.com', like described in Symfony2 documentation) Symfony2 logs such warning: security.WARNING: Switch User failed: "The user is not authenticated on facebook" I've checked Symfony\Component\Security\Http\Firewall