解决方法: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.

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

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

相关文章:

  • 2021-10-28
  • 2021-09-02
  • 2022-12-23
  • 2022-12-23
  • 2022-01-16
  • 2021-10-25
  • 2021-06-17
  • 2021-10-25
猜你喜欢
  • 2022-12-23
  • 2021-11-06
  • 2021-04-14
  • 2021-11-21
  • 2021-10-07
相关资源
相似解决方案