Keep user session on nextcloud server side alive
datenangebot opened this issue · 1 comments
datenangebot commented
Describe the bug
It seems the Office Online app is not sending signals or something to Nextcloud that the session is active and keeps alive while working in onlineoffice.
Expected behavior
A clear and concise description of what you expected to happen.
Session should be triggered (expanded) like editing any resources directly in NC.
It's unclear if microsoft provides a trigger for this or we need some workaround to expand the session while editing...
Related to: https://support.nextcloud.com/#ticket/zoom/52689
juliushaertl commented
Similar to nextcloud/richdocuments#3224 we need a way to extend the session or prevent auto logout while the user is interacting with office.
- We cannot use keyboard/mouse events as they are catched by office in the iframe
- There is a Edit_Notification post message but that would only cover editing, not a user just reading the document
- We can introduce our own heartbeat while office is open but this would not cover auto_logout which we only could disable fully as long as the document is open