Laravel Passport - 客户端身份验证失败

时间:2021-05-26 15:35:41

标签: php laravel oauth-2.0 laravel-passport

我已经安装了 Laravel Passport。

我第一次运行以下网址:http://127.0.0.1:9000/oauth/authorize?client_id=3&redirect_uri=http://127.0.0.1:8000/callback&response_type=code&scope&state=asd1231asd123123

我被重定向到登录路由。我进行了登录,并在登录完成后尝试再次打开相同的 URL http://127.0.0.1:9000/oauth/authorize?client_id=3&redirect_uri=http://127.0.0.1:8000/callback&response_type=code&scope&state=asd1231asd123123

它给了我以下错误:

{"error":"invalid_client","error_description":"Client authentication failed","message":"Client authentication failed"}

这是为什么?

0 个答案:

没有答案