hungnt / login-social-network
There is no license information available for the latest version (dev-master) of this package.
Login Social Network
Package info
github.com/hungnt92-propolife/login-social-network
pkg:composer/hungnt/login-social-network
dev-master
2022-02-14 04:54 UTC
This package is auto-updated.
Last update: 2026-03-14 14:12:40 UTC
README
Require
- Laravel 8.x
- Laravel Socialite: ^5.2
Before install this package, please make sure your application FACEBOOK_CLIENT_ID, GOOGLE_CLIENT_ID exist in .env if you want to login with Google, Facebook and after that insert in services.php
'facebook' => [
'client_id' => env('FACEBOOK_CLIENT_ID', ''),
'client_secret' => env('FACEBOOK_CLIENT_SECRET', ''),
'redirect' => env('FACEBOOK_CALLBACK_URL', ''),
'scopes' => ['email', 'public_profile'],
],
'google' => [
'client_id' => env('GOOGLE_CLIENT_ID', ''),
'client_secret' => env('GOOGLE_CLIENT_SECRET', ''),
'redirect' => env('GOOGLE_CALLBACK_URL', ''),
'scopes' => ['profile email'],
]
or any services if you want to use example github, gitlab, etc...