{"repo":"coderello/laravel-passport-social-grant","free":true,"listed":false,"github":"https://github.com/coderello/laravel-passport-social-grant","clone":"git clone https://github.com/coderello/laravel-passport-social-grant.git","description":"🔒 API authentication via social networks for your Laravel application","language":"PHP","stars":179,"topics":["laravel","passport","social","network","grant"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Laravel Passport Social Grant This package adds a social grant for your OAuth2 server. It can be useful if have an API and want to provide the ability for your users to login/register through social networks. As a result you will be able to exchange access token , issued by the OAuth2 server of any social provider, to access token and refresh token issued by your own OAuth2 server. You will receive this access token and return the user instance that corresponds to it on your own. Installation You can install this package via composer using this command: The package will automatically register itself. Configuring As the first step, you need to implement SocialUserResolverInterface : Here is an example using Socialite - The next step is to bind SocialUserResolverInterface to your implementation. You can do it by adding the appropriate key-value pair to $bindings property in AppServiceProvider : You are done! Usage Example of usage with axios : Example of usage with guzzlehttp/guzzle : Testing You can run the tests with: Changelog Please see CHANGELOG for more information what has changed recently. Contributing Please see CONTRIBUTING for details. Credits Created by Illia Sakovich Maintained by Ankur Kumar License The MIT License (MIT). Please see License File for more information.","default_branch":null,"files":null,"tree":[],"storefront":"/r/coderello","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/coderello/laravel-passport-social-grant/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."}