monteecristoo’s blog

https://twitter.com/irakaarozo

Laravel5.4 + laravel/socialite google oauth issue

googleAPIにリクエストを投げた後、適切にcallbackURLを設定しているのにも関わらず下記のエラーが発生した時

 

"ClientException in RequestException.php line 107: 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":"Access Not Configured. Google+ API (truncated...)"

 

googleAPIダッシュボードにてgoogle+apiを有効化する

http://itsolutionstuff.com/upload/google-click-google-api.png

 

http://itsolutionstuff.com/upload/google-enable-api.png

 

参考:

itsolutionstuff.com