Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

zoriax's avatar

Laravel Sanctum session sliging

Hello,

I'm new on Laracast and I requested your help today. I'm developping an SPA with vue and Sanctum. Everything seems to work fine with authentication but I encounter a problem. When I call an api route with auth:sanctum middleware, my session last_activity is not incerased. Is it a normal behaviour or I miss something ?

Many thanks for your help

0 likes
1 reply
zoriax's avatar

Here technical informations :

I uses Laravel 7.27 and Sanctum 2.6 on PHP 7.4.8

Please or to participate in this conversation.