https://bugs.documentfoundation.org/show_bug.cgi?id=103825

--- Comment #4 from Aleksander Machniak <machn...@kolabsys.com> ---
(In reply to Pranav Kant from comment #3)
> On the server side, when access token is about to expire, sure I can request
> CheckFileInfo from the WOPI service but what good that would do ? My plan

The CheckFileInfo would be a ping to the service/session, so it knows it's
still in use and should not expire the session token.

> was to intimate the user when we are near access_token_ttl who would then
> provide loolwsd with a new access_token that loolwsd can reliably use for
> WOPI operations (till ttl expires again). But how would I get this new
> access token from WOPI service by making a CheckFileInfo request (loolwsd ->
> WOPI service) ?

I don't really see a need to make user aware of this internal process. Also, I
don't see a way to pass the new token from WOPI to loolwsd. That's why I
proposed to ping the WOPI service so it does not expiry the initial token.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to