KindeK
Kinde15mo ago
7 replies
OmarUsman

Logging user out after 30 mins of inactivity

Hi chat, I'm working on a project that interacts with banking data. To protect that data one of the steps we are taking is to log users out after 30 minutes of inactivity.

To achieve this we have a two step process. Firstly in NextJS detecting inactivity (no mouse movements, clicks, etc) and logging the user out. Secondly, by setting the lifetime of the tokens to be no longer than 30 minutes.

My question is what should my Kinde token expiries look like to achieve this?
image.png
Was this page helpful?