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:
1php 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:
1return [2 /*3 | Supported: "google", "facebook", "github", "gitlab",4 | "bitbucket", "linkedin", "twitter"5 */6 'providers' => [7 'github'8 ],9];
You can learn more about this package, get full installation instructions, and view the source code on GitHub.
0 comments:
Post a Comment
Thanks