dpdfh60088 2015-07-21 03:40
浏览 40
已采纳

Laravel Socialite(谷歌)错误:Middleware.php第69行中的ClientException; 错误403

I am setting up a Laravel app to authenticate with Google.

I am prompted to select a Google account and allow access to my Google info and I have everything working up to the callback function.

When my callback function runs (it does get called correctly) I get:

  • ClientException in Middleware.php line 69:
  • Client error: 403

The code in my AuthController leading to the error is:

$user = \Socialite::driver('google')->user();

I would be grateful for any help. I am using Laravel 5.1 and Socialite 2.0.

  • 写回答

2条回答 默认 最新

  • dongliyun3301 2015-07-21 21:03
    关注

    This proved to be an error on the Google side of things. The client enabled the Google+ API in the console. Things work fine now.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥30 这是哪个作者做的宝宝起名网站
  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!