Laravel Sanctum is a lightweight authentication package for SPA applications and APIs. It was released in 2020 and became available out of the box since Laravel 8. Unlike JWT self-contained tokens, Sanctum uses a reference token. What is a Reference ...
muhamadhhassan.me5 min read
this does not work and has a bug. When you try to refresh token, Sanctum looks expiration value from the config.
vendor/laravel/sanctum/src/Guard.php
Astratyan Dmitry
Exactly what I've looking for. Thanks.