DEV Community

Rohit Urane
Rohit Urane

Posted on

8 3

How to Implement LinkedIn login in laravel

Image description
According to a research report, nowadays, users' session is shorter on every website. In this case, you can simplify the process of registration and login for your application. The socialite package is the best and mostly used package for social login. It is used to reduce the process. In this article, we implement a LinkedIn login to your application. Are you looking for a Google or Twitter login? you can visit our social login series for your knowledge.

Step by step guide on LinkedIn login in the laravel application

  • Install Socialite Package Let's start with the Install Socialite package on the laravel application. In the terminal, you run the following command:
composer require laravel/socialite
Enter fullscreen mode Exit fullscreen mode

You need to add the below line of code inside the config/app.php file.

$providers= [

    ......
    Laravel\Socialite\SocialiteServiceProvider::class,
    ......
]; 

$alias = [

    ......
    'Socialite' => Laravel\Socialite\Facades\Socialite::class,
    ......
];
Enter fullscreen mode Exit fullscreen mode

Read More

Image of Datadog

The Future of AI, LLMs, and Observability on Google Cloud

Datadog sat down with Google’s Director of AI to discuss the current and future states of AI, ML, and LLMs on Google Cloud. Discover 7 key insights for technical leaders, covering everything from upskilling teams to observability best practices

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more