Well i'm trying to implement in laravel 5.1 the login with google using socialite and i don´t have problems with the scopes but i need to implement the access_type as offline, somebody know, how can i configure this in socialite for laravel?
this is my connection line
$scopes = [
'https://www.googleapis.com/auth/plus.me',
'https://www.googleapis.com/auth/plus.profile.emails.read',
'https://www.googleapis.com/auth/gmail.readonly'
];
return Socialize::driver('google')->scopes($scopes)->setAccessType('offline')->redirect();
thanks for your help