This package is for the user who still wants to use the older version.
- Bagisto: v1.5.1
-
Run
composer require bagisto/legacy-api
. -
Run
php artisan jwt:secret
.
-Goto app/Http.Kernel.php and add the below line to the $middleware array \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class, \Illuminate\Session\Middleware\StartSession::class,
-
Add JWT Time To Live in
.env
file:JWT_TTL=525600
-
Add JWT_SHOW_BLACKLIST_EXCEPTION in
.env
file:JWT_SHOW_BLACKLIST_EXCEPTION=true
This project follows the all-contributors specification. Contributions of any kind welcome!