Symfony 2 FOSUserBundle with rest login and registration
I have gone through lots of stackoveflow question and articles, but can't find a suitable answer. I'm using fosuserbundle, hwiouthbundle and lexikjwt bundle. I'm developing an api based on symfony which will be consumed by an android app and angular app. Now I need the register and login system with fosuserbundle facebook login with hwiouthbundle and api protection with lexikjwt bundle. I have implemented fosuserbundle and hwiouthbundke and both working without even writing user controller. But I need this with rest not with form. But I can't out type : rest in router. Now how can I login,