I am trying to create an access_token for my API, but I have problem that show this message:
"error": "invalid_client",
"error_description": "Client authentication failed",
"message": "Client authentication failed"
This my request data:
{
"username":"neal.jacobi@example.org",
"password":"test1234",
"grant_type":"password",
"client_id": "2",
"client_secret":"jScq3DMMeZctypnYb7f1ClEHyzybwTK1Yisqo09E"
}
This my oauth_clients table:
You try to add scope
in your request data.
{
"username":"neal.jacobi@example.org",
"password":"test1234",
"grant_type":"password",
"client_id": "2",
"client_secret":"jScq3DMMeZctypnYb7f1ClEHyzybwTK1Yisqo09E",
"scope" => ""
}
If you have any problems, tell me.