0👍
You just need some logic to fetch your token on refresh.
You will first need to save it somewhere, let’s say sessionStorage.
You can use vuex-persistedstate as you mentioned, but a lighter solution would be just setting your user property in the state of the store like this
user: sessionStorage.getItem(yourkey) ?? null
Source:stackexchange.com