当我使用用symfony 2开发的API rest(例如fosrestbundle(时,我已经在带有angular js的应用程序中进行了身份验证, 如何使用 API REST Symfony 在 Angular JS 中进行身份验证(登录和注册( 谢谢我的朋友
使用 https://github.com/FriendsOfSymfony/FOSOAuthServerBundle 设置服务器端 OAuth 机制
然后在 angular 中实现它。