xwikisas / application-collabora

Edit attachments using Collabora
GNU Lesser General Public License v2.1
0 stars 2 forks source link

Wrong token validity length #48

Closed oanalavinia closed 5 months ago

oanalavinia commented 5 months ago

Steps to reproduce:

  1. Set Editing token timeout to 1h
  2. Start editing a file
  3. Leave it open and try saving after 59minutes have passed

Expected result: The save still works, since the hour hasn't passed yet

Actual result: Save is not working. It looks like the actual token validity is at tokenTimeout / 3. So for 1h set, the token will expire after 20min