A Laravel Socialite extension for having multiple social network profiles being attached.
Socialite profiles extends the Laravel Socialite package by allowing multiple social network profiles being attached at the user. Attaching and detaching can be done after being logged in.
Just install the package on your authorization server
composer require ipunkt/laravel-socialite-profiles
and add the Service Provider in your
@include('socialite-profiles::logins') in your login blade template to display all possible configured social logins.
php artisan vendor:publish --provider="\Ipunkt\Laravel\SocialiteProfiles\SocialiteProfilesServiceProvider"
Setting the redirect path when user logged successfully in.
Setting model class for your user model.
Set your authentication route path. This path will be followed by the social provider.
Set your detaching a social profile route path. This path will be followed by the social provider.
HasSocialProfiles in your User model to attach the social profiles.
Socialite Profiles is open-sourced software licensed under the MIT license