Demonstrates how you can add Social Login buttons to your Filament project using Laravel Socialite.
In this example, you will find the following logic:
First, we need to install Socialite:
composer require laravel/socialite
Then, we can start adding our implementation. We will start 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...