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 enter image description here

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

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -