Auto logout cannot be refreshed when using onlyoffice?

I set these in config.php:

‘session_lifetime’ => 60*20,
‘auto_logout’ => true,

I am logging into Nextcloud and only using “onlyoffice”:

  1. Keep operating “onlyoffice” during the period;
  2. After the set 20 minutes have passed;
  3. It was automatically cancelled;

How to keep being logged under “onlyoffice” operation?

ps:My English is not good. The above are all translated by Google. Please understand.