This project illustrates the integration of Social Login functionality into Filament projects through Laravel Socialite implementation.
Get the Source Code:
Only This Example
$9
One-time payment
Full source code for Login with Google/Facebook
Downloadable ZIP file with the source code
Lifetime access to this example
Sign in with GitHub to buy
Sign in first, then complete your $9 checkout.
Best value — all 177 examples
View membership plans
FilamentExamples Membership
$99
/year
or
$199
lifetime
Access to code of all 177 examples
Future new examples and updates included
FilaCheck Pro package licence included
MCP server included
30-day money-back guarantee
How it works
In this example, you will find the following logic:
- Install Socialite
- Filament theme hooks to extend the login page and add two login buttons
- Custom Controller to handle the Social Login redirect and callback
- Two fields on the User model to store the Social Login ID
First, we need to install Socialite:
composer require laravel/socialite
Then, we can start adding our implementation. We will begin with the Filament theme hooks to extend the login page and add two login buttons:
app/Providers/Filament/AdminPanelProvider.php
return $panel // ... ->renderHook( 'panels::auth.login.form.after', fn() => view('auth.socialLogin') );
Then, we need to create the view:
The FULL tutorial is available after the purchase: in the Readme file of the official
repository you would get invited to.