Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b81023d

Browse files
committed
[Documentation] Update cookbook about Facebook login
1 parent 7e36ac9 commit b81023d

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

docs/cookbook/shop/facebook-login.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ Set up the HWIOAuthBundle
1111

1212
.. code-block:: bash
1313
14-
composer require hwi/oauth-bundle
14+
composer require hwi/oauth-bundle php-http/guzzle6-adapter php-http/httplug-bundle
15+
16+
`php-http/guzzle6-adapter` and `php-http/httplug-bundle` are optional if you want to provide your own services.
17+
For more information, please visit `Setting up HWIOAuthBundle <https://github.com/hwi/HWIOAuthBundle/blob/master/Resources/doc/1-setting_up_the_bundle.md#a-add-hwioauthbundle-to-your-project>`_.
1518

1619
* Enable the bundle:
1720

@@ -21,7 +24,8 @@ Set up the HWIOAuthBundle
2124
2225
return [
2326
// ...
24-
new HWI\Bundle\OAuthBundle\HWIOAuthBundle(),
27+
Http\HttplugBundle\HttplugBundle::class => ['all' => true], // If you require the php-http/httplug-bundle package.
28+
HWI\Bundle\OAuthBundle\HWIOAuthBundle::class => ['all' => true],
2529
];
2630
2731
* Import the routing:

0 commit comments

Comments
 (0)