Authentication validity and idle logout
Limit authentication validity time
TBC
Disconnect idle sessions
Browser tabs that have been closed will expire according to the JWT token expiration paramers explained above. However, a session left open is going to keep the connection alive.
To go around this limitation, here is a frontend approach to detect idle time and disconnect:
https://github.com/openimis/openimis-fe-core_js/tree/poc/idle_log_out