Category : google-authentication

I’m using Laravel 8 to develop my project and I would like to use Google authentication system for my users to login. So I downloaded package via composer require laravel/socialite command and added my information on .env: GOOGLE_CLIENT_ID=example GOOGLE_SECRET_KEY=example GOOGLE_CALLBACK_URL=http://localhost:8000/auth/google/callback And then I defined them on config/services.php: ‘google’ => [ ‘client_id’ => env(‘GOOGLE_CLIENT_ID’), ‘client_secret’ => ..

Read more