如何解决下面的symfony依赖项错误
这是我在执行下面的命令后得到的错误。现在,通过提示符,每个命令都会显示此错误如何解决下面的symfony依赖项错误,symfony,dependencies,hwioauthbundle,Symfony,Dependencies,Hwioauthbundle,这是我在执行下面的命令后得到的错误。现在,通过提示符,每个命令都会显示此错误 The service "hwi_oauth.security.oauth_utils" has a dependency on a non-existent service "hwi_oauth.resource_ownerma p.main". 您是否按照文档中的说明配置了捆绑包? 您可能需要添加防火墙配置: composer require hwi/oauth-bundle php-http/guz
The service "hwi_oauth.security.oauth_utils" has a dependency on a non-existent service "hwi_oauth.resource_ownerma
p.main".
您是否按照文档中的说明配置了捆绑包? 您可能需要添加防火墙配置:
composer require hwi/oauth-bundle php-http/guzzle6-adapter php-http/httplug-bundle
# app/config/security.yml
security:
firewalls:
secured_area:
anonymous: ~
oauth:
resource_owners:
facebook: "/login/check-facebook"
google: "/login/check-google"
my_custom_provider: "/login/check-custom"
my_github: "/login/check-github"
login_path: /login
use_forward: false
failure_path: /login
oauth_user_provider:
service: my.oauth_aware.user_provider.service
access_control:
- { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY }