socialogin/linkedin

There is no license information available for the latest version (1.0.0) of this package.

This is an linkedIn login Package

1.0.0 2023-04-14 03:44 UTC

This package is auto-updated.

Last update: 2024-04-14 05:54:38 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

Installation

Require this package, with Composer, in the root directory of your project.

$ composer require socialogin/linkedin

Add the service provider to config/app.php in the providers array.

 Socialogin\Linkedin\Providers\LinkedInLoginProvider::class,

Configuration

Laravel requires connection configuration. To get started, you'll need to publish all vendor assets:

$ php artisan vendor:publish --provider=" Socialogin\Linkedin\Providers\LinkedInLoginProvider"

You are free to change the configuration file as needed, but the default expected values are below in .env file:

LINKEDIN_CLIENT_ID="your cllient key"
LINKEDIN_CLIENT_SECRET="your client secret id" 

Add oauth_id and oauth_type column in Users table and linkedIn login button on login page and assign the route as "url('auth/linkedin')".