Socialstream is a package by Joel Butcher that provides a simple Socialite implementation for Laravel Jetstream.
Installing this package is a breeze, and it takes care of installing Jetstream under the hood if you’re starting a new application.
It replaces the published authentication and profile scaffolding provided by Jetstream with scaffolding that has support for Laravel Socialite one you install the package and run the install command:
php artisan socialstream:install
The install command overwrites the published Jetstream files required for Socialstream to work within Jetstream. Using the built-in Socialite providers and the community Socialite Providers it’s a breeze to scaffold social authentication providers within Jetstream!
Out of the box, it enables GitHub (you will need to provide your app credentials):
You can configure them in the published config/socialstream.php
file:
return [
/*
| Supported: "google", "facebook", "github", "gitlab",
| "bitbucket", "linkedin", "twitter"
*/
'providers' => [
'github'
],
];
You can learn more about this package, get full installation instructions, and view the source code on GitHub.
source : https://laravel-news.com/
0 comments:
Post a Comment
Thanks