Open mmeeks opened 3 years ago
See also bug #3086 for some more pre-requisites.
One tricky case is when a user/view idles and the document is unloaded. Without the full URL, the token will have expired and we won't be able to transparently reload the document. We will somehow need to reload the page so we service loleaflet.html all over. Indeed caching the token is not the issue here, since this scenario will still play out when the server is restarted. So this isn't a matter of caching the token as much as it is a matter of saying "please reload the page" (or doing it seamlessly).
Oh - that is an interesting case =) hmm; not clear how best to handle that really. Possibly it would be cleaner to pass the access token down the websocket as the 1st command, rather than having it in the URL; and handle that on the WSD side somehow cleanly (?) Urk =)
To make our service URL (for eg. websocket, clipboard etc.) much cleaner we should:
This should be more proxy friendly, yield much shorter URLs and be easier on the eye. We should default to this in CO 21.06 + but I don't believe we need it as an option in 6.4.
Thanks !