Login or Register a user with Laravel Socialite

This is a Laravel 8 project with Laravel Breeze authentication features where we implement Laravel Socialite Package to allow users to login/register.

How to use

Code for Laravel-8-Socialite

  • Clone the repository with git clone
  • Copy .env.example file to .env
  • Edit database credentials in .env
  • Enter your OAuth providers credentials in .env
  • Run composer install
  • Run php artisan key:generate
  • Run php artisan migrate --seed
  • Run php artisan serve (if you want to use other port add --port=90)
  • You can register by clicking on top-right

License

Feel free to use and re-use any way you want.

More