I have a WAB 2.7 app (self deployed) that accesses a webmap with a secured arcgis server token service. The webamp will load correctly but the secure layer won't draw. Watching the network traffic, this makes sense b/c the 'export' image request to the service is NOT routed via the proxy.
Setup and things I can confirm:
- The proxy is correctly setup and configured:
- loclahost/proxy.ashx?ping returns the expected json response
- localhost/proxy.ashx?https://myserver/myservice/.... all return the correct response when I manually copy/paste the requests to the browser bar
- The WAB app config file has at least some of the config correct. I'm using the "rules" section for the specific secure service url. Without the rule for the specific secure service, the login/token prompt is displayed. With the rule in place the login dialog does NOT appear and watching the network traffic, I see a bunch of /info?=json requests for the service routed via the proxy. Config:
The WAB correctly uses the proxy when the webmap is loading and getting service/layer info. These request all return 200 success and the JSON is visible in the response preview:
The the layer list checkbox is clicked on, the following requests to export function are not routed thru the proxy and return the "token required" json instead of an image:
What am missing?