Laravel 5.3 Password Grant Tokens [user credentials incorrect]
<p>Setup Laravel's 5.3 Passport using vagrant/homestead. Following along until i reach <a href="https://laravel.com/docs/5.3/passport#password-grant-tokens" rel="nofollow noreferrer">Password Grant Tokens</a></p>

<p>Here I found this GuzzleHttp snippet to make post to <code>/oath/token</code>:</p>

<pre><code>    Route::get('/api_grant', function(){
    $http = new GuzzleHttp\Client;

    $response = $http-&gt;post('http://mavrik-cms.io/oauth/token', [
        'form_params' =&gt; [
            'grant_type' =&gt; 'password',
            'client_id' =&gt; '6',
            'client_secret' =&gt; 'BBlhjUlGsbde5zQ3LBHAr6inJoQVFOMIZlR1RFUI',
            'username' =&gt; 'mrricki.m.usmc@gmail.com',
            'password' =&gt; 'secret',
            'scope' =&gt; '',
        ],
    ]);

    return json_decode((string) $response-&gt;getBody(), true);
});
</code></pre>

<p>Although i have sent all of the required and correct information I continue to receive: (Note: Im the only user so its my email and dummy password and the client is correctly associated to my user_id on the oauth clients table and password_client is set to 1);</p>

<pre><code>{"error":"invalid_credentials","message":"The user credentials were incorrect."}
</code></pre>

<p><a href="https://i.stack.imgur.com/Qtx8H.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Qtx8H.png" alt="enter image description here"></a></p>

<p>Ive been messing around with this for a few hours now. I have tried all possible combinations of user and password.(email from user model as username, user from user model as username, password in user model as password, etc..). </p>