I am trying to figure out auto logout in nextcloud. I have read and searched for days and tried multiple things. This is what I have currently in my config.php file. From what I have read this should cause it to logout after 4 hours. It doesn’t it logs out after 20 to 30 minutes. If I set the session lifetime to something smaller like 5 minutes it works fine and logs out after 5 minutes. There must be another setting somewhere that is overriding the session lifetime but I can’t find it.
‘remember_login_cookie_lifetime’ => 606024*15,
‘session_lifetime’ => 60 * 60 * 4,
‘session_keepalive’ => true,
‘auto_logout’ => true,