How to obtain new access token without login laravel sanctum?

477 Views Asked by At

I made a login api using Laravel Sanctum for the front end, the token only expires for 15 minutes. If it expires, the front end user must log back in to get a new token. For reactjs developer, how do you get a new token without having to log in again?

0

There are 0 best solutions below