我尝试了10次来找出如何安装HWIOAuthBundle,但是没有足够的文档,我安装了捆绑包,我完全按照中的文档操作,但它显示了这个错误:
OAuthUserProvider (service nameCheckout the documentation for integrating HWIOAuthBundle with FOSUserB
我是HWIOAuthBundle的新手,拥有Symfony2.3 +FosUserBundle。我正在使用这个包facebook,twitter,googleplus登录我的项目。但是我想重写login.html.twig,因为我想把facebook、twitter、google和图片显示到我们的小树枝文件中,但我不知道如何在HWIOAuthBundle中做到这一点。我的login.html.twig {# Bonus: Show all available login link in HWIOAuthBu
我的项目几乎一切正常,除了当我以数据库(FOSUserBundle)中没有通信的用户登录(使用facebook)时,我被重定向到/registration/{id},却得到了一个错误:
The form's view data is expected to be an instance of class Naroga\Reader\CommonBundle\Entity\User, but is an instance of class HWI\Bundle\OAuthBundle\OAuth\Response\PathUserResponse. You can avoid this