© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Muhamad Hassan
Sr software engineer @foodics
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 ...
Astratyan Dmitry
Exactly what I've looking for. Thanks.
Petar Jovanović
Vue.js, React, Laravel, NodeJS
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.