Discovery and Access Token

In collabora example, the access token is set and returned in discovery Api.

It seems discovery should not be called for each file request, as said here.

Does token also need to be set once with discovery? Should I really set and return token in discovery api? and use it in all following iframe requests.

hello, Can anybody help?