10

I was trying to add the google login to my laravel project. but it gives a Client error. Given below is the error i got. I successfully installed the socialite as well.

 Client error: `GET https://www.googleapis.com/plus/v1/people/me?prettyPrint=false` resulted in a `403 Forbidden` response: {"error":{"errors":[{"domain":"usageLimits","reason":"accessNotConfigured","message":"Project 983930379932 is not found (truncated...) 
  • First Open your Google Console Account from Here : console.developers.google.com Select your project. After this you have to click on google+ API detail page. Now we can enable API. – Dpak Mar 12 '19 at 10:06

3 Answers3

16

Go to https://console.cloud.google.com/apis and enable Google+ api.

Took me 3 hours to find out that Google Cloud does not automatically enable the api for you when you create OAuth service.

Goodcake
  • 323
  • 3
  • 10
2

Remember you have to register your google app within googles service as well. That error if I remember correctly is simply telling you that you aren't allowed to use google services.

I am not super sure if this steps are up to date, but it shouldn't be that different: https://itsolutionstuff.com/post/laravel-5-google-oauth-authentication-using-socialite-packageexample.html

0

First Open your Google Console Account from Here : console.developers.google.com

Select your project. After this you have to click on google+ API detail page. Now we can enable API.

Dpak
  • 133
  • 4