We’re creating some 3D tileset urls on our staging server which we plan to put behind an authentication middleware. As we know in NodeJS APIs, we can validate each request to check if they’re authentic or not, it is exactly what we want to do.
The problem is that these URLs are called by the following piece of code
tileset = await Cesium.Cesium3DTileset.fromUrl(tileURL);
This sends a request to the tileURL, after which the .json file is returned.
Is there any provision, I can pass a Bearer token in this request.
This is required at our end because of the OWASP based guidelines where every server side resource needs to be behind authentication.
I hope this explains the issue/problem we’re facing at our end.