<?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: CORS issue with accessing portal secure services in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/cors-issue-with-accessing-portal-secure-services/m-p/869219#M12599</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possible solutions would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Try to run WAB-dev on chrome.&lt;/P&gt;&lt;P&gt;2) Install CORS extension for chrome - I will not recommend this but just to verify.&lt;/P&gt;&lt;P&gt;3) Allow portal to access non secured request.&lt;/P&gt;&lt;P&gt;4) Install Portal on secured environment. Configure WAB-dev to run on https locally.see this &lt;A _jive_internal="true" href="https://community.esri.com/thread/224702-how-to-start-wab-developer-edition-with-https"&gt;thread&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jan 2019 03:53:56 GMT</pubDate>
    <dc:creator>PrashantKirpan</dc:creator>
    <dc:date>2019-01-24T03:53:56Z</dc:date>
    <item>
      <title>CORS issue with accessing portal secure services</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/cors-issue-with-accessing-portal-secure-services/m-p/869218#M12598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a web map in portal with a feature layer&amp;nbsp;which points to an external secure service. When I was adding it&amp;nbsp;to WAB (developer), it threw me the following CORS erorr. Our portal is IWA and our WAB(developer) is running as a service. The same issue happens when i deployed the app on our app server which is different from portal machine. There are no issues for&amp;nbsp;adding web maps without any secured services. I have compared the request and response headers for the two calls (one with secured service and one without secured service). The only difference is that cookies and token were sent along with the request with secured service. I assume the reason was that 'withCredentials' attribute was set to true for that case. But how to set it to false or bypass or just remove it from the request? Is there a way to acccess portal items with secure services out of the portal machine?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="433492" class="image-2 j-img-centered jive-image" src="https://community.esri.com/legacyfs/online/433492_pastedImage_3.png" style="display: block; margin-left: auto; margin-right: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/433515_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2019 20:53:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/cors-issue-with-accessing-portal-secure-services/m-p/869218#M12598</guid>
      <dc:creator>GangWang</dc:creator>
      <dc:date>2019-01-16T20:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: CORS issue with accessing portal secure services</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/cors-issue-with-accessing-portal-secure-services/m-p/869219#M12599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possible solutions would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Try to run WAB-dev on chrome.&lt;/P&gt;&lt;P&gt;2) Install CORS extension for chrome - I will not recommend this but just to verify.&lt;/P&gt;&lt;P&gt;3) Allow portal to access non secured request.&lt;/P&gt;&lt;P&gt;4) Install Portal on secured environment. Configure WAB-dev to run on https locally.see this &lt;A _jive_internal="true" href="https://community.esri.com/thread/224702-how-to-start-wab-developer-edition-with-https"&gt;thread&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2019 03:53:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/cors-issue-with-accessing-portal-secure-services/m-p/869219#M12599</guid>
      <dc:creator>PrashantKirpan</dc:creator>
      <dc:date>2019-01-24T03:53:56Z</dc:date>
    </item>
  </channel>
</rss>

