Laravel 5.6 Passport oAuth2 can't make request with Guzzle
问题 I have a fresh project on Laravel 5.6, where I'm trying to study and understand API Auth with Passport. I'm trying to do that, and after that to make a Javascript application from where I'll access that API. So, API for first-party applications. I've installed and registered all routes and setup specific to passport, and also installed Guzzle . I looked for some tutorials and now I'm with that code : RegisterController.php <?php namespace App\Http\Controllers\Api\Auth; use App\Http