Skip to main content

Posts

Showing posts from April, 2018

How to implement LinkedIn login in laravel

In this tutorial, we’re going to explain how to integrate LinkedIn login in Laravel based application using Socialite. The Socialite is Laravel’s official package, which is making is easy to authenticate with external services with OAuth providers. Create Project Create a brand new Laravel 5.6 project with Composer create-project command: $ composer create - project laravel / laravel factdeveloper - linkedIn - login 5.6 -- prefer - dist Database connection settings After creating project open .env file and update your database credentials: . . . DB_CONNECTION = mysql DB_HOST = 127.0.0.1 DB_PORT = 3306 DB_DATABASE = factdeveloper_linkedin_login DB_USERNAME = root DB_PASSWORD = mysql . . . Next step, would be, go to the project root and open the terminal and type the following command. It will create the two tables, which is by default ships by Laravel 5.6 $ php artisan migrate Migration table created succe