Open NightravenJames opened 6 years ago
I'm not sure but I think it just cannot track api because it's not via the web middleware?
In your kernel
protected $middlewareGroups = [
'web' => [
.......
\PragmaRX\Tracker\Vendor\Laravel\Middlewares\Tracker::class,
],
'api' => [
.......
\PragmaRX\Tracker\Vendor\Laravel\Middlewares\Tracker::class,
],
];
Hi @napestershine, i've an similar problem. I've use the Laravel Passport Authentification, but only add the Tracker::class to the middlewareGroups doesn't work. The user_id is empty. Do you have an Idea?
Am using the dingo package specifically https://github.com/francescomalatesta/laravel-api-boilerplate-jwt here is my tracker config
`