If you have an issue with Google Login in Laravel Socialite, Follow these instructions. Change this file ./vendor/laravel/socialite/src/Two/GoogleProvider.php with this: <?php namespace Laravel\Socialite\Two; use Illuminate\Support\Arr; class GoogleProvider extends AbstractProvider implements ProviderInterface { protected $scopeSeparator = ' '; /** * The scopes being requested. * * @var array */ protected $scopes = [ 'openid', 'profile', 'email', ]; /** * {@inheritdoc} */ protected function getAuthUrl($state) { return $this->buildAuthUrlFromBase('https://accounts.google.com/o/oauth2/auth', $state); ...
Here you can solve all your issues related to Laravel.