Have you put your post data in "Body" tab in "form-data" fields?
laravel passport client_credentials
i just want to ask if any one is using this https://laravel.com/docs/5.4/passport#client-credentials-grant-tokens im having problem in the return request
this is my post data in POSTMAN
{ "grant_type": "client_credentials", "client_id": "1", "client_secret": "W34UQ1bZGzqEY2D0mx...", "scope": "" }
this is my url www.sample.com/oauth/token
and my return is this
{
"error": "unsupported_grant_type",
"message": "The authorization grant type is not supported by the authorization server.",
"hint": "Check the grant_type parameter"
}
i just want to have access_token, expires_in, token_type from the grant type client_credentials thanks for the help !!
Please or to participate in this conversation.