I am using custom UserManager in FOSUserBundle which is configured to be used as user Manager for HWIOauthBundle.I am redirecting user for facebook logi of HWIOauthBundle after that I get redirected to Custom userManager Service, which contains some code as ,

services: my_user_provider: class: "%my_user_provider.class%" #this is the place where the properties are passed to the UserProvider - see config.yml arguments: [@fos_user.user_manager,{facebook: facebookID}]