Skip to content

Commit

Permalink
Use default Socialite Google scopes
Browse files Browse the repository at this point in the history
Google plus API seems to be gone, default Socialite values seem to work without causing warnings.
  • Loading branch information
SimZal authored Jul 7, 2019
1 parent 63c7875 commit 96c178f
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions config/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' => [],
],

Expand Down

0 comments on commit 96c178f

Please sign in to comment.