Laravel passport - nobu0605/accounting-application-api GitHub Wiki

Install

I'm using Laravel Framework 6.20.4.
But if I use that version, I can not install Laravel passport of the latest version.
So I installed 7.3.3 version.
composer require laravel/passport:7.3.3
https://stackoverflow.com/questions/58711707/composer-require-laravel-passport-not-working-in-laravel-5-8


php artisan make:auth command for Laravel6.

Laravel6 can't use php artisan make:auth.
solution https://qiita.com/rei67/items/d6d0f5f6e58edbb17c09


Cors issue

On the frontend, a network error occurred.
After I added fruitcake/laravel-cors middleware, it worked correctly.
https://larapet.hinaloe.net/2020/03/05/laravel-cors/


Return token to frontend

https://blog.capilano-fw.com/?p=3745