Skip to content

There are six social media authentication system such as Facebook, Twitter, Instagram, Linkedin, Github, Bitbucket

Notifications You must be signed in to change notification settings

smmoazzamhossain/social-auth-using-laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Social Authentication Usign Laravel Socialite

Several social authentication system through Laravel Socialite 4.1, Features included:

  • Facebook authentication
  • Twitter authentication
  • Instagram authentication
  • Linkedin authentication
  • Github authentication
  • Bitbucket authentication
  • Validation

Required

  • composer
  • php(version>=7.2)
  • mysql

Install Laravel

$ composer create-project laravel/laravel rest_api

Install socialite

$ composer require laravel/socialite

Run the Artisan migrate command:

Add "provider" and "provider_id" column in users table

$ php artisan migrate

Make all settings according to socialite documentation from here

https://laravel.com/docs/5.8/socialite

For instagram run this command

$ composer require socialiteproviders/instagram 

Add this line in "config/app.php" file in service providers array

\SocialiteProviders\Manager\ServiceProvider::class

Add this line in "app/Providers/EventServiceProvider" file in listen array

      \SocialiteProviders\Manager\SocialiteWasCalled::class => [
            // add your listeners (aka providers) here
            'SocialiteProviders\\Instagram\\InstagramExtendSocialite@handle',
        ],

About

There are six social media authentication system such as Facebook, Twitter, Instagram, Linkedin, Github, Bitbucket

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published