From 96c178fe070f17b568133d2004349296cbbf1531 Mon Sep 17 00:00:00 2001 From: Simon Zalar Date: Sun, 7 Jul 2019 21:40:48 +0200 Subject: [PATCH] Use default Socialite Google scopes Google plus API seems to be gone, default Socialite values seem to work without causing warnings. --- config/services.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/config/services.php b/config/services.php index 8c251a4d74..605f48bdb1 100644 --- a/config/services.php +++ b/config/services.php @@ -85,17 +85,6 @@ 'client_id' => env('GOOGLE_CLIENT_ID'), 'client_secret' => env('GOOGLE_CLIENT_SECRET'), 'redirect' => env('GOOGLE_REDIRECT'), - - /* - * Only allows google to grab email address - * Default scopes array also has: 'https://www.googleapis.com/auth/plus.login' - * https://medium.com/@njovin/fixing-laravel-socialite-s-google-permissions-2b0ef8c18205 - */ - 'scopes' => [ - 'https://www.googleapis.com/auth/plus.me', - 'https://www.googleapis.com/auth/plus.profile.emails.read', - ], - 'with' => [], ],