<?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 Add ESRI Premium NAIP Service to Web appbuilder dev through Arcgis Online in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-esri-premium-naip-service-to-web-appbuilder/m-p/454367#M11922</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am struggling to figure out the correct proxy settings to allow me to add Esri's premium NAIP 2014 image service to my Deployed Web app builder applicaiton.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;current setup:&lt;/P&gt;&lt;P&gt;- I am using ArcGIS online&lt;/P&gt;&lt;P&gt;- I have the Premium service added to my content with the credentials saved with the service&lt;/P&gt;&lt;P&gt;- I have the .net proxy set up on my internal web server&lt;/P&gt;&lt;P&gt;- the web map and all of the services are set to private or shared only with my organization&lt;/P&gt;&lt;P&gt;- I have added services non secured services to from my server to my web map and the proxy currently passes credentials through to allow access to these services. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current problem:&lt;/P&gt;&lt;P&gt;- Not able to successfully use ClientID and ClientSecret to authenticate against Arcgis online. I must use Username and Password in my proxy.&lt;/P&gt;&lt;P&gt;- Using my username and password for my online account I am able to add services hosted by my server but not ESRI premium content services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed the instructions in the following thread to try and get the clientID and Client secret to work but i was not successful. &lt;A href="https://community.esri.com/thread/121212"&gt;What's the proper configuration for proxy.config and config.json for a self-hosted Web AppBuilder for ArcGIS Web Applica…&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;my Config.json settings&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; "wabVersion": "1.3",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "isTemplateApp": false,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "isWebTier": false,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "httpProxy": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "useProxy": true,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "alwaysUseProxy": false,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "url": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fserver.domain%2Fproxy%2Fproxy.ashx" rel="nofollow" target="_blank"&gt;http://server.domain/proxy/proxy.ashx&lt;/A&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "rules": [&lt;/P&gt;&lt;P&gt;&amp;nbsp; {"urlPrefix" : "myORG.maps.arcgis.com/",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "proxyUrl" : "server.domain/proxy/proxy.ashx"&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; ]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My current proxy settings &lt;/STRONG&gt;that work for services hosted on my server and go through arcgis online&lt;/P&gt;&lt;P&gt;&amp;lt;ProxyConfig allowedReferers="*"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mustMatch="true"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;serverUrls&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;serverUrl url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fservices.arcgisonline.com" rel="nofollow" target="_blank"&gt;http://services.arcgisonline.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; matchAll="true"&lt;/P&gt;&lt;P&gt;&amp;nbsp; /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;serverUrl url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Futility.arcgis.com" rel="nofollow" target="_blank"&gt;http://utility.arcgis.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; matchAll="true"&lt;/P&gt;&lt;P&gt;&amp;nbsp; /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;serverUrl url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fserver.domain" rel="nofollow" target="_blank"&gt;http://server.domain&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; matchAll="true"&lt;/P&gt;&lt;P&gt;&amp;nbsp; /&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;serverUrl url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2FmyORG.maps.arcgis.com" rel="nofollow" target="_blank"&gt;http://myORG.maps.arcgis.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; username="username"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; password="password"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; matchAll="true"&lt;/P&gt;&lt;P&gt;&amp;nbsp; /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/serverUrls&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/ProxyConfig&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Help would be much appreciated or if this question has been answered before please point me to it because I have not been able to solve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Dec 2015 18:54:17 GMT</pubDate>
    <dc:creator>ChrisJones-Roberts</dc:creator>
    <dc:date>2015-12-29T18:54:17Z</dc:date>
    <item>
      <title>Add ESRI Premium NAIP Service to Web appbuilder dev through Arcgis Online</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-esri-premium-naip-service-to-web-appbuilder/m-p/454367#M11922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am struggling to figure out the correct proxy settings to allow me to add Esri's premium NAIP 2014 image service to my Deployed Web app builder applicaiton.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;current setup:&lt;/P&gt;&lt;P&gt;- I am using ArcGIS online&lt;/P&gt;&lt;P&gt;- I have the Premium service added to my content with the credentials saved with the service&lt;/P&gt;&lt;P&gt;- I have the .net proxy set up on my internal web server&lt;/P&gt;&lt;P&gt;- the web map and all of the services are set to private or shared only with my organization&lt;/P&gt;&lt;P&gt;- I have added services non secured services to from my server to my web map and the proxy currently passes credentials through to allow access to these services. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current problem:&lt;/P&gt;&lt;P&gt;- Not able to successfully use ClientID and ClientSecret to authenticate against Arcgis online. I must use Username and Password in my proxy.&lt;/P&gt;&lt;P&gt;- Using my username and password for my online account I am able to add services hosted by my server but not ESRI premium content services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed the instructions in the following thread to try and get the clientID and Client secret to work but i was not successful. &lt;A href="https://community.esri.com/thread/121212"&gt;What's the proper configuration for proxy.config and config.json for a self-hosted Web AppBuilder for ArcGIS Web Applica…&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;my Config.json settings&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; "wabVersion": "1.3",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "isTemplateApp": false,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "isWebTier": false,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "httpProxy": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "useProxy": true,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "alwaysUseProxy": false,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "url": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fserver.domain%2Fproxy%2Fproxy.ashx" rel="nofollow" target="_blank"&gt;http://server.domain/proxy/proxy.ashx&lt;/A&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "rules": [&lt;/P&gt;&lt;P&gt;&amp;nbsp; {"urlPrefix" : "myORG.maps.arcgis.com/",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "proxyUrl" : "server.domain/proxy/proxy.ashx"&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; ]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My current proxy settings &lt;/STRONG&gt;that work for services hosted on my server and go through arcgis online&lt;/P&gt;&lt;P&gt;&amp;lt;ProxyConfig allowedReferers="*"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mustMatch="true"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;serverUrls&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;serverUrl url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fservices.arcgisonline.com" rel="nofollow" target="_blank"&gt;http://services.arcgisonline.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; matchAll="true"&lt;/P&gt;&lt;P&gt;&amp;nbsp; /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;serverUrl url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Futility.arcgis.com" rel="nofollow" target="_blank"&gt;http://utility.arcgis.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; matchAll="true"&lt;/P&gt;&lt;P&gt;&amp;nbsp; /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;serverUrl url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fserver.domain" rel="nofollow" target="_blank"&gt;http://server.domain&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; matchAll="true"&lt;/P&gt;&lt;P&gt;&amp;nbsp; /&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;serverUrl url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2FmyORG.maps.arcgis.com" rel="nofollow" target="_blank"&gt;http://myORG.maps.arcgis.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; username="username"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; password="password"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; matchAll="true"&lt;/P&gt;&lt;P&gt;&amp;nbsp; /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/serverUrls&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/ProxyConfig&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Help would be much appreciated or if this question has been answered before please point me to it because I have not been able to solve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Dec 2015 18:54:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-esri-premium-naip-service-to-web-appbuilder/m-p/454367#M11922</guid>
      <dc:creator>ChrisJones-Roberts</dc:creator>
      <dc:date>2015-12-29T18:54:17Z</dc:date>
    </item>
  </channel>
</rss>

