CreateFreshApiToken
подключилAuth::check(); // true
Auth::user(); // User model
Auth::check(); // false
Auth::user(); // null
Cookie: laravel_token=eyJpdiI6IjRnY1...
let bearer = Cookies.get('access_token');
if (bearer) {
window.axios.defaults.headers.common['Authorization'] = bearer
}