how to login laravel passport with postman

Solutions on MaxInterview for how to login laravel passport with postman by the best coders in the world

showing results for - "how to login laravel passport with postman"
Mika
15 Jun 2018
1$response = $http->post('http://your-app.com/oauth/token', [
2    'form_params' => [
3        'grant_type' => 'password',
4        'client_id' => 'client-id',
5        'client_secret' => 'client-secret',
6        'username' => 'taylor@laravel.com',
7        'password' => 'my-password',
8        'scope' => '',
9    ],
10]);
11