<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Proxy Page for Windows Auth in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/proxy-page-for-windows-auth/m-p/540853#M15332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure about the Flex Viewer but I think the same question applies for JSAPI&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The proxy for JSAPI is built to access services that are secured with token-based authentication&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This issue on the proxy's GitHub repo page highlights this limitation&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"Java/.NET : Throw "Error 500-Protocol Error" when passing ArcGIS Server uri with windows authentication"&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://github.com/Esri/resource-proxy/issues/7"&gt;https://github.com/Esri/resource-proxy/issues/7&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;There's a discussion about making modification to the proxy to support Windows authentication. However, it seems it hasn't been made yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To work around this issue, you can use CORS (Cross Origin Resource Sharing) instead of using a proxy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You need a browser and server that support CORS &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;These browsers support CORS&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://enable-cors.org/client.html"&gt;http://enable-cors.org/client.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS Server 10.1 supports CORS out of the box. Versions 9.3 and 10.0 do not have support for CORS but can be easily added by an administrator. enable-cors.org has detailed instructions on how to do this. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Read more on using CORS with JSAPI in this page&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/jshelp/inside_esri_request.html"&gt;https://developers.arcgis.com/javascript/jshelp/inside_esri_request.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Apr 2014 17:17:27 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2014-04-01T17:17:27Z</dc:date>
    <item>
      <title>Proxy Page for Windows Auth</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/proxy-page-for-windows-auth/m-p/540852#M15331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi There,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone got a working proxy page for using with windows authentication. If we don't use a proxy page then the server will challenge on the first service hit and pop up a credentials page. I have played around today with a limited degree of success but can't seem to get it to seamlessly connect (I have the proxy in an application using IIS windows integration - it grabs the httpcurrentcontext user correctly). By adding the server to the browser local intranet sites stops the challenge but I would rather funnel through a proxy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone done something like this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Fraser&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 05:16:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/proxy-page-for-windows-auth/m-p/540852#M15331</guid>
      <dc:creator>FraserHand</dc:creator>
      <dc:date>2011-09-19T05:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy Page for Windows Auth</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/proxy-page-for-windows-auth/m-p/540853#M15332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure about the Flex Viewer but I think the same question applies for JSAPI&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The proxy for JSAPI is built to access services that are secured with token-based authentication&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This issue on the proxy's GitHub repo page highlights this limitation&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"Java/.NET : Throw "Error 500-Protocol Error" when passing ArcGIS Server uri with windows authentication"&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://github.com/Esri/resource-proxy/issues/7"&gt;https://github.com/Esri/resource-proxy/issues/7&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;There's a discussion about making modification to the proxy to support Windows authentication. However, it seems it hasn't been made yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To work around this issue, you can use CORS (Cross Origin Resource Sharing) instead of using a proxy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You need a browser and server that support CORS &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;These browsers support CORS&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://enable-cors.org/client.html"&gt;http://enable-cors.org/client.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS Server 10.1 supports CORS out of the box. Versions 9.3 and 10.0 do not have support for CORS but can be easily added by an administrator. enable-cors.org has detailed instructions on how to do this. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Read more on using CORS with JSAPI in this page&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/jshelp/inside_esri_request.html"&gt;https://developers.arcgis.com/javascript/jshelp/inside_esri_request.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2014 17:17:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/proxy-page-for-windows-auth/m-p/540853#M15332</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-04-01T17:17:27Z</dc:date>
    </item>
  </channel>
</rss>

