is a bug : Session store not set on request ??
-
when call api
http://example.com/api/v1/customer/login?token=true
i get error message :
Session store not set on requestfixed:
adding only the following 2 middleware allowed me to access session data in my API routes:\App\Http\Middleware\EncryptCookies::class
\Illuminate\Session\Middleware\StartSession::class
Whole declaration ($middlewareGroups in Kernel.php):'api' => [
\App\Http\Middleware\EncryptCookies::class,
\Illuminate\Session\Middleware\StartSession::class,
'throttle:60,1',
'bindings',
], -
Hi there,
We are using Sanctum for Bagisto API and our kernel.php middleware group is this-