Redirect to loginpage when timeout

Hi everyone

I have the problem, that the application freezes after some time of inactivity and needs to be refreshed in order to use all the applications on the page. I not really familiar with all the token and refresh tokens so i’m a little bit lost here … i tried several things with adjusting the inactivity and changing the refreshtoken but i didn’t not really get a sadistfiying result …
i would like that when the page is inactive for too long, the user would need to login again or the page stays in active mode so refreshing of the page is not necessary (otherwise data is lost all the time…) Can anyone help me with this issue?
Thanks a lot.