Google One Tap provider for Laravel Socialite
serdud/socialite-google-one-tap is a Laravel package for google one tap provider for laravel socialite.
It currently has 6 GitHub stars and 104.000 downloads on Packagist (latest version v2.3.0).
Install it with composer require serdud/socialite-google-one-tap.
Discover more Laravel packages by serdud
or browse all Laravel packages to compare alternatives.
Last updated
composer require serdud/socialite-google-one-tap
config/services.php'google' => [
'client_id' => env('GOOGLE_CLIENT_ID'),
'client_secret' => env('GOOGLE_CLIENT_SECRET'),
'redirect' => env('GOOGLE_REDIRECT_URI')
],
You should now be able to use the provider like you would regularly use Socialite:
return Socialite::driver('google-one-tap')->stateless()->userFromToken($token);
Note Use
Note The token is returned in the
credentialfield
idnicknamenameemailavatargiven_namefamily_nameThe MIT License (MIT). Please see License File for more information.