2017 © Pedro Peláez
 

library social-login

An implementation of Laravel Socialite. Initially built for Laravel Spark

image

riclep/social-login

An implementation of Laravel Socialite. Initially built for Laravel Spark

  • Tuesday, June 12, 2018
  • by RicLeP
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Social login using Laravel Socialite

This package implements Laravel Socialite., (*1)

When authenticating a user it will first check for existing Users with the same email address as used by the social network. If found it will attach the SocialAccount to the User. Multiple SocialAccount accounts from different providers can be attached to a single User., (*2)

If no User is found then a new one will be created. Rather than allow null passwords we generate a 100 character random string., (*3)

Setup

The package uses Laravel package auto discovery., (*4)

Add the social network credentials to your Laravel config/services.php file., (*5)

'facebook' => [
    'client_id' => env('FACEBOOK_CLIENT_ID'),
    'client_secret' => env('FACEBOOK_CLIENT_SECRET'),
    'redirect' => env('FACEBOOK_REDIRECT'),
],

'twitter' => [
    'client_id' => env('TWITTER_CLIENT_ID'),
    'client_secret' => env('TWITTER_CLIENT_SECRET'),
    'redirect' => env('TWITTER_REDIRECT'),
],

Add the social links to your views., (*6)

<a href="/social-auth/facebook/redirect">Facebook Login</a>
<a href="/social-auth/twitter/redirect">Twitter Login</a>

See https://laravel.com/docs/master/socialite, (*7)

The Versions

12/06 2018

dev-master

9999999-dev

An implementation of Laravel Socialite. Initially built for Laravel Spark

  Sources   Download

MIT

The Requires

 

by Richard Le Poidevin

laravel facebook twitter spark github social login laravel socialite laravel spark

12/06 2018

1.0.2

1.0.2.0

An implementation of Laravel Socialite. Initially built for Laravel Spark

  Sources   Download

MIT

The Requires

 

by Richard Le Poidevin

laravel facebook twitter spark github social login laravel socialite laravel spark

12/06 2018

1.0.1

1.0.1.0

An implementation of Laravel Socialite. Initially built for Laravel Spark

  Sources   Download

MIT

The Requires

 

by Richard Le Poidevin

laravel facebook twitter spark github social login laravel socialite laravel spark

12/06 2018

1.0.0

1.0.0.0

An implementation of Laravel Socialite. Initially built for Laravel Spark

  Sources   Download

MIT

The Requires

 

by Richard Le Poidevin

laravel facebook twitter spark github social login laravel socialite laravel spark