I'm trying to add a long-term token to my proxy page for use with a WMTS service. The token is added to the getCapabilties request, but the tile requests seem to not go through the proxy and the token doesn't get added to the request. This leads to the login redirect.
I have the alwaysUseProxy set to true. If I add the proxy to the beginning of the tile URL shown in fiddler, the image shows up fine so I assume that the proxy is working okay.
Any suggestions--I'm not sure what else to try.
We're handling authentication through a separate application, hence the reason for the long-term token in the proxy page.