php - Is google+ api necessary for Laravel's Socialite OAuth ? And also how to limit permissions? -
i using socialite in laravel 5.1 project.
using google oauth socialite requires compulsory google+ api enabled
or else throws
clientexception in middleware.php line 69:client error: 403
even after disabling google api screen
don't wish ask who's in circle
. want fields returned socialite -
id, nickname, name, email-id & avatar
the permissions in consent screen controlled scope send. sending scope of https://www.googleapis.com/auth/plus.login
. remove , request permissions user, wont able access there google+ data.
also cant change permissions scope gives supplied google. if want persons id, nickname, name, email address can try profile scope think gives information should check documentation , test yourself.
Comments
Post a Comment