码迷,mamicode.com
首页 > Windows程序 > 详细

API Authentication Error: {"error":"invalid_client","message":"Client authentication failed"}

时间:2018-11-18 21:32:03      阅读:2380      评论:0      收藏:0      [点我收藏+]

标签:技术   failed   callback   err   dir   ror   tab   ima   image   

解决方法:https://github.com/laravel/passport/issues/221

In your oauth_clients table, do the values you have above exist exactly as you have them in your database?

oauth_clients

id - 3
secret - 3TfJGj4rrvOQvjZkI8dDqx78ouH99F2DuIMKHoKH
redirect - http://consumer.dev/callback

If it doesn‘t exist exactly like that in the database for passport.dev then it will throw the invalid_client error. Please be sure to check that and we will see if any further investigation is needed.

技术分享图片

  • 还需要查看 oauth_clients 表的 password_client 是否为 1

API Authentication Error: {"error":"invalid_client","message":"Client authentication failed"}

标签:技术   failed   callback   err   dir   ror   tab   ima   image   

原文地址:https://www.cnblogs.com/eleven24/p/9979530.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!