我只是按照Laravel official中的步骤进行操作。
我正在使用邮递员发送发帖请求(http://localhost:7777/my-project/public/oauth/token),以便可以检索访问令牌:
{
"grant_type" : "password","client_id" : "2","client_secret" : "oxKBv6EnyEXeF6l4FBbkVcLgq2WPnyB9EOdlUpL5","username" : "my_email","password" : "my_password","scope" :""
}
我收到此错误:
{"error":"invalid_credentials","message":"The user credentials were incorrect."}
即使我确定我的凭据是正确的。