Auth0 + Vue.js how to keep user logged in for x days

Hi all!

I followed the quickstart guide (https://auth0.com/docs/quickstart/spa/vuejs/03-calling-an-api) and I have login/logout working. However, as soon as refresh the page, the user user is logged out and has to log back in. Are there any tutorials on how to keep the user logged in for x hours/days in Vue.js? I found this one: Managing And Refreshing Auth0 Tokens In a Vuejs Application | by Sello Mkantjwa | ITNEXT, but I am not sure whether this is up to date.

Thanks!

Hey there!

Sorry for such huge delay in response! We’re doing our best in providing you with best developer support experience out there, but sometimes our bandwidth is not enough comparing to the number of incoming questions.

Wanted to reach out to know if you still require further assistance?