Closed emanueljacob closed 4 years ago
Instead of showing error messages in the dom, it would be a good idea to redirect the user back to login, when the current access token is invalid
This is just the csrf token and not the session token. I think we only have to fetch a new token like this: https://laravel.com/docs/7.x/sanctum#spa-authenticating
Instead of showing error messages in the dom, it would be a good idea to redirect the user back to login, when the current access token is invalid