1. A concise explanation of the problem you're experiencing.
We are using WebMapServiceImageryProvider and UrlTemplateImageryProvider which point to Open-ID authenticated services. Therefore we need to include an authentication token to the request. That works fine until the token is not valid anymore (which is the case after a few minutes), Once that happens, we need to update the authentication information.
Now, it is possible to use a "
Resource" and add an appropriate "retryCallback". However, inside this callback it is not possible to persist the updated authentication information. Cesium always first tries the original information, causing a lot of network traffic, server load and log messages which all could be avoided.
* What is the intended way to use authenticated imagery providers?
* Is it possible to intercept (any manipulate) the HTTP request?
4. The Cesium version you're using, your operating system and browser.
Currently 1.62.0
OS and browser version is irrelevant, Cesium shows the exact same behaviour everywhere ...