Im trying to add google authentication for my application which built with laravel 5.5 with Laravel Socialite. So for that I have created a google developer account via google developer console and enabled google+ api.
So when I try to register when it redirect to call back url it gives me below error. I have gone through lot of documentations and stackoverflow questions almost. But no luck.
This is the error
GuzzleHttp \ Exception \ ClientException (403)
Client error: `GET https://www.googleapis.com/plus/v1/people/me?prettyPrint=false` resulted in a `403 Forbidden` response: { "error": { "code": 403, "message": "Legacy People API has not been used in project