By utilizing authentication via the Tiled widget, we can log in and select data, returning a path to the data which is used by the viewer. The Tiled widget saves auth tokens to local storage tiledAccessToken and tiledRefreshToken, and makes these tokens available in the callback function as well.
But just passing in the data-url to the viewer (inside an iframe) without the tokens results in access denied to the central tiled server.
Can we modify the viewer to try and utilize local storage tokens, or just pass those tokens in directly to the viewer's iframe similar to the data-url?
By utilizing authentication via the Tiled widget, we can log in and select data, returning a path to the data which is used by the viewer. The Tiled widget saves auth tokens to local storage
tiledAccessTokenandtiledRefreshToken, and makes these tokens available in the callback function as well.But just passing in the data-url to the viewer (inside an iframe) without the tokens results in access denied to the central tiled server.
Can we modify the viewer to try and utilize local storage tokens, or just pass those tokens in directly to the viewer's iframe similar to the data-url?