Before we had the tiled viewer handling authentication on its own, we don't want to set the DATA_API_KEY...it means that only one user can be configured in the app, and the api key appears in the browser (bad if it's a central api key not a user's api key).
However, the app needs to know the user's token today because it needs to make a request for the image when the viewer is closed. @SeijDeLeon , this will take some thought. Can the dash widget provide a callback so that dash server can get the user's access_token after the widget is closed?