Webapp, developed by vue will get token, on the login page, but token will have deadlines. How to deal with token deadlines?

fill in the account password on the login page for the first time, adjust the login interface, and return a token at the backend. The previous consideration is that after filling in the account password and logging in, the user turns off webapp and opens webapp again to jump to the home page. For the timeliness of token, if the signature expires on the home page, you will jump back to the login page. If the time limit of token is relatively short, then you have to jump to the login page every day and click on the login page. In this way, the user experience is very poor, and there is no good suggestion. Gods!

Apr.03,2021

since it is said that the short duration of token will lead to poor user experience, is it not to extend the validity of token?

Menu