-WAB Developer 2.7
-.jsp proxy
-https
I have a WAB deployment that needs to authenticate secured feature services via proxy. Consider:
1. I am able to authenticate by clicking directly on a url with the proxy referenced as such:
https://domain.com/proxy/proxypage.jsp?https://domain.com/sitename/rest/services/foldername/feature_service_name
2. Opening the WAB gives a 404 error.
This is what's in the config.json:
<SPAN class="string token">"wabVersion"</SPAN><SPAN class="punctuation token">:</SPAN> <SPAN class="string token">"2.7"</SPAN><SPAN class="punctuation token">,</SPAN>
<SPAN class="string token">"isTemplateApp"</SPAN><SPAN class="punctuation token">:</SPAN> <SPAN class="keyword token">true</SPAN><SPAN class="punctuation token">,</SPAN>
<SPAN class="string token">"isWebTier"</SPAN><SPAN class="punctuation token">:</SPAN> <SPAN class="keyword token">false</SPAN><SPAN class="punctuation token">,</SPAN>
<SPAN class="string token">"httpProxy"</SPAN><SPAN class="punctuation token">:</SPAN> <SPAN class="punctuation token">{</SPAN>
<SPAN class="string token">"useProxy"</SPAN><SPAN class="punctuation token">:</SPAN> <SPAN class="keyword token">true</SPAN><SPAN class="punctuation token">,</SPAN>
<SPAN class="string token">"alwaysUseProxy"</SPAN><SPAN class="punctuation token">:</SPAN> <SPAN class="keyword token">false</SPAN><SPAN class="punctuation token">,</SPAN>
<SPAN class="string token">"url"</SPAN><SPAN class="punctuation token">:</SPAN> <SPAN class="string token"><SPAN>"</SPAN><A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdomain.com%2Fproxy%2Fproxypage.jsp" target="_blank">https://domain.com/proxy/proxypage.jsp</A><SPAN>"</SPAN></SPAN><SPAN class="punctuation token">,</SPAN>
<SPAN class="string token">"rules"</SPAN><SPAN class="punctuation token">:</SPAN> <SPAN class="punctuation token">[</SPAN>
<SPAN class="punctuation token">{</SPAN>
<SPAN class="string token">"urlPrefix"</SPAN><SPAN class="punctuation token">:</SPAN> <SPAN class="string token"><SPAN>"</SPAN><A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdomain.com%2Fsitename%2Frest%2Fservices%2Ffoldername%2Ffeature_service_name%2FFeatureServer" target="_blank">https://domain.com/sitename/rest/services/foldername/feature_service_name/FeatureServer</A><SPAN>"</SPAN></SPAN><SPAN class="punctuation token">,</SPAN>
<SPAN class="string token">"proxyUrl"</SPAN><SPAN class="punctuation token">:</SPAN> <SPAN class="string token"><SPAN>"</SPAN><A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdomain.com%2Fproxy%2Fproxypage.jsp" target="_blank">https://domain.com/proxy/proxypage.jsp</A><SPAN>"</SPAN></SPAN>
<SPAN class="punctuation token">}</SPAN>
<SPAN class="punctuation token">]</SPAN>
<SPAN class="punctuation token">}</SPAN><SPAN class="punctuation token">,</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>