【问题标题】:The child node "resource_owners" at path "hwi_oauth" must be configured必须配置路径“hwi_oauth”处的子节点“resource_owners”
【发布时间】:2018-07-22 15:48:11
【问题描述】:

我正在使用 HWIOAuthBundle 和我的 symfony 应用程序,我遵循了他们的以下文档。 https://github.com/hwi/HWIOAuthBundle

我被困在一个地方。作为资源所有者,我使用了 google,在运行应用程序时它给了我这个错误

必须配置路径“hwi_oauth”的子节点“resource_owners”。

以下是我的代码示例。谁能帮我解决这个问题。

image is in this link

【问题讨论】:

    标签: php symfony login oauth hwioauthbundle


    【解决方案1】:

    试试这个:

    hwi_oauth:
        resource_owners:
            any_name:
                type:                google
                client_id:           12345678910                //your client Id
                client_secret:       012345678910               //your client secret
    

    【讨论】:

    • 我的代码示例中的内容和这个有什么区别。我很困惑
    猜你喜欢
    • 1970-01-01
    • 2019-12-05
    • 1970-01-01
    • 2018-08-08
    • 1970-01-01
    • 2016-01-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多