I have login by tokens, it should be noted that in my REST API I already have the following endpoints:
auth/signin
auth/refresh
which return me a valid token with its exp date, I currently have my application in Vue, which through axios interceptor I close the session if the token is not valid, or I renew it as the case may be but I am looking for the session to be closing after X time of inactivity , could you guide me if there is any library with which I can achieve that?
I think this library could work perfectly for you idle-vue