From b121955cd780c52524c16e2ac6c72983b7e1260b Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 22 May 2019 13:23:31 +1000 Subject: [PATCH] bug fix --- app/Http/Controllers/Auth/LoginController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Auth/LoginController.php b/app/Http/Controllers/Auth/LoginController.php index 0c24babe7d..207310b072 100644 --- a/app/Http/Controllers/Auth/LoginController.php +++ b/app/Http/Controllers/Auth/LoginController.php @@ -157,7 +157,7 @@ class LoginController extends BaseController public function handleProviderCallback(string $provider) { $socialite_user = Socialite::driver($provider) - ->scope('https://www.googleapis.com/auth/gmail.send','email','profile','openid') + ->scopes('https://www.googleapis.com/auth/gmail.send','email','profile','openid') ->stateless() ->user();