{"repo":"knpuniversity/oauth2-client-bundle","free":true,"listed":false,"github":"https://github.com/knpuniversity/oauth2-client-bundle","clone":"git clone https://github.com/knpuniversity/oauth2-client-bundle.git","description":"Easily talk to an OAuth2 server for social functionality in Symfony","language":"PHP","stars":841,"topics":["oauth2","oauth2-client","social-integrations","symfony","symfony-bundle"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"OAuth / Social Integration for Symfony: KnpUOAuth2ClientBundle Easily integrate with an OAuth2 server (e.g. Facebook, GitHub) for: \"Social\" authentication / login \"Connect with Facebook\" type of functionality Fetching access keys via OAuth2 to be used with an API Doing OAuth2 authentication with Symfony Custom Authenticator (or Guard Authenticator for legacy applications) This bundle integrates with league/oauth2-client. This Bundle or HWIOAuthBundle? In addition to this bundle, another OAuth bundle exists for Symfony: hwi/oauth-bundle. You might be wondering \"why are there two popular OAuth bundles?\". Great question! Generally speaking, hwi/oauth-bundle gives you more features out-of-the-box, including social authentication and registration (called \"connect\"). But, it's also a bit harder to install. The knpuniversity/oauth2-client-bundle , takes more work to setup, but gives you more low-level control. Not sure which to use? If you need OAuth (social) authentication & registration, try hwi/oauth-bundle. If you don't like it, come back! Installation Install the bundle library via Composer by running the following command: If you're using Symfony Flex, the bundle will be automatically enabled. For older apps, enable it in your AppKernel class. Awesome! Now, you'll want to configure a client. Configuring a Client You'll need to configure one client for each OAuth2 server (GitHub, Facebook, etc) that you want to talk to. Step 1) Download the Client Library Choose the one you wan","default_branch":null,"files":null,"tree":[],"storefront":"/r/knpuniversity","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/knpuniversity/oauth2-client-bundle/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}