【问题标题】:No route found for "GET /connect"找不到“GET /connect”的路由
【发布时间】:2013-08-17 14:39:57
【问题描述】:

尝试使用HWIOAuthBundle

找不到“GET /connect”的路由
404 未找到 - NotFoundHttpException
1 个链接异常:ResourceNotFoundException »

https://gist.github.com/idlweb/6232475

【问题讨论】:

    标签: symfony routing hwioauthbundle


    【解决方案1】:

    尝试将更多捆绑路由导入您的应用路由,而不仅仅是redirect.xml:

    hwi_oauth_security:
        resource: "@HWIOAuthBundle/Resources/config/routing/login.xml"
        prefix: /connect
    
    hwi_oauth_connect:
        resource: "@HWIOAuthBundle/Resources/config/routing/connect.xml"
        prefix: /connect
    
    hwi_oauth_redirect:
        resource: "@HWIOAuthBundle/Resources/config/routing/redirect.xml"
        prefix:   /connect
    

    【讨论】:

    • 这对我没有帮助,路由器不匹配/connect
    猜你喜欢
    • 1970-01-01
    • 2017-12-27
    • 2013-11-14
    • 2016-01-01
    • 2016-07-22
    • 1970-01-01
    • 1970-01-01
    • 2017-01-01
    • 2015-08-15
    相关资源
    最近更新 更多