<?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: What's the proper configuration for proxy.config and config.json for a self-hosted Web AppBuilder for ArcGIS Web Application? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726949#M36010</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alex, I share your frustration, it seems like it should be fairly simple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would someone be able to answer whether the scenario below is possible, and if so, how with the minimum of fuss?&amp;nbsp; (my apologies for the lousy presentation).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already achieved it *except* that a sign-in screen is popping up, and if all users are being forced to sign in, I might as well just send them straight to ArcGIS Online! &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Btw the web server is not public-facing.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="IsThisPossible.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/104834_IsThisPossible.jpg" style="width: 620px; height: 802px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 May 2015 20:52:30 GMT</pubDate>
    <dc:creator>MatthewCarey</dc:creator>
    <dc:date>2015-05-29T20:52:30Z</dc:date>
    <item>
      <title>What's the proper configuration for proxy.config and config.json for a self-hosted Web AppBuilder for ArcGIS Web Application?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726941#M36002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't find a solid document on this, and Esri support was just trying to fill in the gaps....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have an application that I configured through our web appbuilder for arcgis on our organization site. I have since downloaded the code and pasted the requisite json from the web app into the config.json on my web server at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://mywebserver/webapp" rel="nofollow" target="_blank"&gt;https://mywebserver/webapp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;my proxy is located here: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://mywebserver/DotNet/proxy.ashx" rel="nofollow" target="_blank"&gt;https://mywebserver/DotNet/proxy.ashx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have registered the application and have a clientid, and secret on agol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clientid: clientid123&lt;/P&gt;&lt;P&gt;appsecret: appsecret123&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I can successfully browse to the application at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://mywebserver/webapp" rel="nofollow" target="_blank"&gt;https://mywebserver/webapp&lt;/A&gt;&lt;SPAN&gt; without the proxy and get prompted to enter my agol creds and it works. I just would like to remove the agol popup and enforce my own iis security. To do this I need a proper configuration in my proxy and in my json.config. Can someone use the variables that I quoted above and tell me what my &amp;lt;ProxyConfig&amp;gt; tags in my proxy.config file, and what my "httpProxy" section should look like in my config.json?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that's all I need. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 23:10:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726941#M36002</guid>
      <dc:creator>AlexMahrou</dc:creator>
      <dc:date>2015-02-04T23:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: What's the proper configuration for proxy.config and config.json for a self-hosted Web AppBuilder for ArcGIS Web Application?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726942#M36003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BUMP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 18:29:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726942#M36003</guid>
      <dc:creator>AlexMahrou</dc:creator>
      <dc:date>2015-02-05T18:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: What's the proper configuration for proxy.config and config.json for a self-hosted Web AppBuilder for ArcGIS Web Application?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726943#M36004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex, &lt;/P&gt;&lt;P&gt;The reason why you can see the agol popup(oAuth2 authentication dialog indeed) is because your webmap or some layers in the webmap is not shared to public. Otherwise no authentication dialog will appear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To remove the oAuth2 authentication dialog, it means on every request to private resources in your deployed app(private webmap or private layers in webmap) have to come along with a valid token. This can be done by putting a proxy which has valid token in it&amp;nbsp; in front of your deployed app, as long as the end users visit the deployed app through the proxy(indeed end users will not know the real url of the app), then no security challenge will occur to end user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To achieve your goals, you need do following things:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In your proxy file, write server code to process all requests to the private resources. Specifically, identify all requests that need token, and concatenate valid token to those requests.&lt;/LI&gt;&lt;LI&gt;In your proxy file, write server code to refresh the token if it’s expired.&lt;/LI&gt;&lt;LI&gt;Put your own IIS security challenge before the proxy, which also needs some code.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, you've mentioned proxy.config and &amp;lt;ProxyConfig&amp;gt; tags, I assume you're using the sample proxy file from esri’s github. This proxy file is just too simple for you to achieve above goals, more server code is needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2015 03:35:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726943#M36004</guid>
      <dc:creator>ZhifangWang</dc:creator>
      <dc:date>2015-02-06T03:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: What's the proper configuration for proxy.config and config.json for a self-hosted Web AppBuilder for ArcGIS Web Application?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726944#M36005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Zhifang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My only need is to remove the first popup for the agol map item authentication. There are no subsequent popups as this resides on my web server within my domain and I am using web auth tier security for the services referenced within.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am in disagreement that there is much code needed server side. Otherwise why would you be able to register an application so easily with Esri? All I need to know is the json code to put in the end of my applications config.json and the proxy.config settings that will utilize the following variables:&lt;/P&gt;&lt;P&gt;clientid, appsecret, url: &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://mywebserver/webapp" rel="nofollow" style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #287433; text-decoration: underline;" target="_blank"&gt;https://mywebserver/webapp &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My proxy is located here: &lt;A href="https://mywebserver/DotNet/proxy.ashx" rel="nofollow" style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #287433; text-decoration: underline;" target="_blank" title="https://mywebserver/DotNet/proxy.ashx"&gt;https://mywebserver/DotNet/proxy.ashx&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've provided the variables, I wonder if someone knows the answer...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2015 15:36:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726944#M36005</guid>
      <dc:creator>AlexMahrou</dc:creator>
      <dc:date>2015-02-06T15:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: What's the proper configuration for proxy.config and config.json for a self-hosted Web AppBuilder for ArcGIS Web Application?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726945#M36006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex, &lt;/P&gt;&lt;P&gt;Registering an app in ArcGIS Online or Portal is mainly for oAuth2 authentication purpose, as soon as you got the Client ID and Client Secret, you have to exchange a valid token for your private resources by yourself. &lt;A href="https://developers.arcgis.com/authentication/" title="https://developers.arcgis.com/authentication/"&gt;ArcGIS Online Authentication | ArcGIS for Developers&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How the "proxy" part in &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;config.json file works can be found here: &lt;A href="http://doc.arcgis.com/en/web-appbuilder/manage-apps/use-proxy.htm" title="http://doc.arcgis.com/en/web-appbuilder/manage-apps/use-proxy.htm"&gt;Use proxy—Web AppBuilder for ArcGIS | ArcGIS&lt;/A&gt;. For your scenario, I think you have to write some server code in your proxy file to identify the requests to private resources and append valid token (it's your responsibility to get a valid token, also needs server code)&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;nbsp; to those requests at least. In "proxy" part of config.json file, you may want to set some rules to reduce the unnecessary request passing to your proxy.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Hope this helps.&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 07:26:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726945#M36006</guid>
      <dc:creator>ZhifangWang</dc:creator>
      <dc:date>2015-02-10T07:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: What's the proper configuration for proxy.config and config.json for a self-hosted Web AppBuilder for ArcGIS Web Application?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726946#M36007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Zhifang, but my services are using Web Tier authentication (Not GIS Tier with Tokens), as I have mentioned in the first post. The application sits on my web server. Thus the only thing that I would need to remove is the ArcGIS item popup. I have looked at the use proxy link that you have provided. I was just curious what the code in the proxy config would look like given my variables. I guess you don't know that. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 21:26:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726946#M36007</guid>
      <dc:creator>AlexMahrou</dc:creator>
      <dc:date>2015-02-10T21:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: What's the proper configuration for proxy.config and config.json for a self-hosted Web AppBuilder for ArcGIS Web Application?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726947#M36008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using the .NET proxy from github? If so you'll find info on the various options for configuring your proxy in the readme. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/resource-proxy/blob/master/DotNet/README.md" title="https://github.com/Esri/resource-proxy/blob/master/DotNet/README.md"&gt;resource-proxy/README.md at master · Esri/resource-proxy · GitHub&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Feb 2015 02:46:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726947#M36008</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2015-02-14T02:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: What's the proper configuration for proxy.config and config.json for a self-hosted Web AppBuilder for ArcGIS Web Application?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726948#M36009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I would also like a little more clarity on the tags required in the config.json and proxy if someone can provide it? Possibly an example of each showing application level authentication? &lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;This is what I'm using and it's probably not correct-&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;proxy- &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;serverUrl url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://adacountyitgis.maps.arcgis.com/" rel="nofollow" target="_blank"&gt;http://adacountyitgis.maps.arcgis.com/&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; oauth2Endpoint="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://www.arcgis.com/sharing/oauth2" rel="nofollow" target="_blank"&gt;https://www.arcgis.com/sharing/oauth2&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; clientId="*****************"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; clientSecret="***********************************"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rateLimit="600"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rateLimitPeriod="60"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; matchAll="true"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/serverUrl&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;json-&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"wabVersion":"1.1","isWebTier":false,"httpProxy":{"useProxy":true,"alwaysUseProxy":false,"url":"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://arcg.is/1vh66cC" rel="nofollow" target="_blank"&gt;http://arcg.is/1vh66cC&lt;/A&gt;&lt;SPAN&gt;","rules":[{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; "urlPrefix": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://adacountyitgis.maps.arcgis.com/" rel="nofollow" target="_blank"&gt;http://adacountyitgis.maps.arcgis.com/&lt;/A&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; "proxyUrl": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://mywebserver/proxy4/proxy.ashx" rel="nofollow" target="_blank"&gt;http://mywebserver/proxy4/proxy.ashx&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; }]},"appId":"************************"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone could tell me what is missing, what should be removed or changed, it would be appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 17:19:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726948#M36009</guid>
      <dc:creator>RyanStrain</dc:creator>
      <dc:date>2015-03-03T17:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: What's the proper configuration for proxy.config and config.json for a self-hosted Web AppBuilder for ArcGIS Web Application?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726949#M36010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alex, I share your frustration, it seems like it should be fairly simple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would someone be able to answer whether the scenario below is possible, and if so, how with the minimum of fuss?&amp;nbsp; (my apologies for the lousy presentation).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already achieved it *except* that a sign-in screen is popping up, and if all users are being forced to sign in, I might as well just send them straight to ArcGIS Online! &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Btw the web server is not public-facing.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="IsThisPossible.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/104834_IsThisPossible.jpg" style="width: 620px; height: 802px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 20:52:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726949#M36010</guid>
      <dc:creator>MatthewCarey</dc:creator>
      <dc:date>2015-05-29T20:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: What's the proper configuration for proxy.config and config.json for a self-hosted Web AppBuilder for ArcGIS Web Application?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726950#M36011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, my reply is long overdue. But I have reached resolution! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attempted to follow the documentation for the &lt;A href="https://github.com/Esri/resource-proxy"&gt;DotNet proxy&lt;/A&gt; on GitHub by inspecting examples and also followed the instructions here : &lt;A href="http://doc.arcgis.com/en/web-appbuilder/manage-apps/deploy-app-online.htm"&gt;on the "Manage Apps" section on the docs.arcgis.com site&lt;/A&gt;​ &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In actuality there are three workflows that I've found. Items one and two will necessitate a proxy if you are to utilize AGOL items and wish to employ your web server's security. Item three will not require a proxy, but might require you to keep the Web Appbuilder version in sync with the Github LocalLayer Widget. I also believe that item three will not have any 1's and 0's going to agol either during client sessions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;AGOL Web Appbuilder (download your code after configuration in AGOL). -- The example below&lt;/LI&gt;&lt;LI&gt;Developer Edition Web Appbuilder &lt;/LI&gt;&lt;LI&gt;&lt;A href="https://github.com/cmndrbensisko/LocalLayer"&gt;Developer Edition Web Appbuilder with LocalLayer Widget :&amp;nbsp; Bypassing AGOL Items&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the variables:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A class="jive-link-external-small" href="https://mysite.com/mywebapp" rel="nofollow" target="_blank"&gt;https://mysite.com/mywebapp&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A class="jive-link-external-small" href="https://mysite.com/DotNet/proxy.ashx" rel="nofollow" target="_blank"&gt;https://mysite.com/DotNet/proxy.ashx&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A class="jive-link-external-small" href="https://myorg.maps.arcgis.com" rel="nofollow" target="_blank"&gt;https://myorg.maps.arcgis.com&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;clientID="1111111111111111"&lt;/LI&gt;&lt;LI&gt;clientSecret="22222222222222222222222222222222"&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. The Proxy Config:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt;&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://services.arcgisonline.com" rel="nofollow" target="_blank"&gt;https://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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; matchAll="true"/&amp;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://mysite.com" rel="nofollow" target="_blank"&gt;https://mysite.com&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; matchAll="true"&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;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &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://myorg.maps.arcgis.com/" rel="nofollow" target="_blank"&gt;https://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; clientId="1111111111111111"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; clientSecret="22222222222222222222222222222222"&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; oauth2Endpoint="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://myorg.maps.arcgis.com/sharing/oauth2/" rel="nofollow" target="_blank"&gt;https://myorg.maps.arcgis.com/sharing/oauth2/&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rateLimit="600"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rateLimitPeriod="60"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; matchAll="true"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/serverUrl&amp;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;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;!-- See &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://github.com/Esri/resource-proxy" rel="nofollow" target="_blank"&gt;https://github.com/Esri/resource-proxy&lt;/A&gt;&lt;SPAN&gt; for more information --&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. The Json code to add at the end of your config.json&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;"httpProxy" : {&lt;/P&gt;&lt;P&gt;&amp;nbsp; "useProxy" : true,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; "url" : "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://mysite.com/DotNet/proxy.ashx" rel="nofollow" target="_blank"&gt;https://mysite.com/DotNet/proxy.ashx&lt;/A&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; "alwaysUseProxy" : false,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "rules" : [{&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; "urlPrefix" : "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://myorg.maps.arcgis.com/" rel="nofollow" target="_blank"&gt;https://myorg.maps.arcgis.com/&lt;/A&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; "proxyUrl" : "/DotNet/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; }&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3. The Requisite Configurable App Registration Information on AGOL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;URL: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://mysite.com/mywebapp" rel="nofollow" target="_blank"&gt;https://mysite.com/mywebapp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;API: JavaScript&lt;/P&gt;&lt;P&gt;App Type: browser&lt;/P&gt;&lt;P&gt;Purpose: Configurable&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Redirect URI's: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://mysite.com" rel="nofollow" target="_blank"&gt;http://mysite.com&lt;/A&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://mysite.com" rel="nofollow" target="_blank"&gt;https://mysite.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 20:23:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726950#M36011</guid>
      <dc:creator>AlexMahrou</dc:creator>
      <dc:date>2015-06-08T20:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: What's the proper configuration for proxy.config and config.json for a self-hosted Web AppBuilder for ArcGIS Web Application?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726951#M36012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alex, thanks so much for writing this up so simply. I tried to use your process with my own web mapping application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I'm still having the AGOL pop-up appear and ask for my credentials (there's a small generic message box, then when I click OK it takes me to a sign-in pop up page that's customized based on my AGOL organization) and I can't figure out why. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The application resides on my server which is only viewable inside my organization, and the AGOL web map it references is shared with the Organization. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm wondering if this is relevant - In the browser (Chrome) console, I see: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/113308_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas how I might troubleshoot this? The proxy log seems to indicate that it's having success but nonetheless something is obviously mis-configured somewhere...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 16:06:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726951#M36012</guid>
      <dc:creator>MatthewCarey</dc:creator>
      <dc:date>2015-06-25T16:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: What's the proper configuration for proxy.config and config.json for a self-hosted Web AppBuilder for ArcGIS Web Application?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726952#M36013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting the same results with the AGOL pop-up.&amp;nbsp; Did you find away of getting this resolved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 12:05:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726952#M36013</guid>
      <dc:creator>BillSpiking__GISP</dc:creator>
      <dc:date>2015-07-09T12:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: What's the proper configuration for proxy.config and config.json for a self-hosted Web AppBuilder for ArcGIS Web Application?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726953#M36014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, I'm afraid I didn't receive any responses so I've been dormant on this issue for a couple of weeks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought I might have unique issues and everyone else is all set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you seeing the same error messages by any chance?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I figure I'll try and reach out to Esri directly next, and will let you know if we figure it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 12:49:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726953#M36014</guid>
      <dc:creator>MatthewCarey</dc:creator>
      <dc:date>2015-07-09T12:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: What's the proper configuration for proxy.config and config.json for a self-hosted Web AppBuilder for ArcGIS Web Application?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726954#M36015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, I'm seeing the same thing.&amp;nbsp; I'll submit a help ticket as well and let you know what I find out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 12:54:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726954#M36015</guid>
      <dc:creator>BillSpiking__GISP</dc:creator>
      <dc:date>2015-07-09T12:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: What's the proper configuration for proxy.config and config.json for a self-hosted Web AppBuilder for ArcGIS Web Application?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726955#M36016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It turns out that when I swapped out my hosted feature layer for a map service from my organization's ArcGIS Server that's only viewable internally in my AGOL webmap and saved it, it worked with no sign-in required!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I didn't solve this precise issue but I think the workaround will work for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this might help....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 16:26:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726955#M36016</guid>
      <dc:creator>MatthewCarey</dc:creator>
      <dc:date>2015-07-16T16:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: What's the proper configuration for proxy.config and config.json for a self-hosted Web AppBuilder for ArcGIS Web Application?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726956#M36017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having the same issues and can't get it to work no matter what I try with the proxy and config. Did you hear anything from Esri?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 13:44:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726956#M36017</guid>
      <dc:creator>MelanieHammond1</dc:creator>
      <dc:date>2015-07-31T13:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: What's the proper configuration for proxy.config and config.json for a self-hosted Web AppBuilder for ArcGIS Web Application?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726957#M36018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I submitted a ticket to Esri and was told that basically a map on AGOL must be shared publically to prevent the AGOL sign in from popping up. Sure hope they are planning on allowing a map from Server soon or else the whole WAB becomes fairly useless to us. I'll update if I hear something different.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 21:04:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726957#M36018</guid>
      <dc:creator>MelanieHammond1</dc:creator>
      <dc:date>2015-07-31T21:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: What's the proper configuration for proxy.config and config.json for a self-hosted Web AppBuilder for ArcGIS Web Application?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726958#M36019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is what i was told too but it seems if the proxy is configured right you have a web map and web app 'not shared' and still have it appear. After talking to the SDK people for a while yesterday, they concluded I could not use the proxy with a webapp builder app from AGOL. Yet as we see there are help pages for AGOL WAB that say use of a proxy is possible. After trial and error by myself, here is what I think works. I say 'think' because I have so many test maps and apps it is hard to keep them all straight! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My steps are as follows- using a web map that is not shared and a&amp;nbsp; web app that is not shared (created with WAB on AGOL)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. after cresting the web app, I downloaded that code and saved it to my web server to host the app there. The app now has a URL from my server nistead of having to use the AGOL URL. &lt;/P&gt;&lt;P&gt;2. Create an AGOL content item using the URL from my hosted app. created as a web mapping app, with app type = browser. I then registered it to get the appID&lt;/P&gt;&lt;P&gt;3. I added the appID to the config.json from the downloaded app. I had to change the text encoding to make it look nicer in notepad++&lt;/P&gt;&lt;P&gt;4. I added the proxy code at the end of the web app. I dont enough about javascript to know where you can/cannot add the code, but I do know you have to be mindful of the , and } and ] that each of the code elements use. So my copied code here will show how I added it after the last item in the original config.json&lt;/P&gt;&lt;P&gt;,"httpProxy": {&lt;/P&gt;&lt;P&gt;&amp;nbsp; "useProxy": true,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; "url": "", *** i did not need to add anything here although i have tried the proxy URL (below) as well as&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.arcgis.com%2Fsharing%2Frest" rel="nofollow" target="_blank"&gt;http://www.arcgis.com/sharing/rest&lt;/A&gt;&lt;SPAN&gt;, simply because that was an example i was given by support at&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; some point&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; "alwaysUseProxy": false,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "rules": [{&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; "urlPrefix": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.arcgis.com" rel="nofollow" target="_blank"&gt;http://www.arcgis.com&lt;/A&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; "proxyUrl": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fmysite.com%2Fdotnet%2Fproxy.ashx" rel="nofollow" target="_blank"&gt;http://mysite.com/dotnet/proxy.ashx&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; }]&lt;/P&gt;&lt;P&gt;&amp;nbsp; }}}}}}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then go to my custom URL and am able to see the map, no log in required! I should mention that this is with map services that are secure, yet have the credentials saved. If I use the regular REST endpoint for my services, I still get a log in screen. So I would recommend saving credentials w/secure services (as an AGOL item) as not sharing the web map still requires credentials for map content and does not seem to be handled by the proxy (unless you put in the reference to your services in your proxy.config)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I hope this helps someone else. After being told by support that this is, and then is not possible, I wound up figuring it out on my own. I really wish there was consistency in what support analysts told us. To do my job,&amp;nbsp; I need to know how to use all products to produce a end result-- a web app that uses services, Server, MXDs, AGOL content, etc-- I need someone who can tell me how it work it all together. (OK rant over.... )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 14:55:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726958#M36019</guid>
      <dc:creator>C_EHoward</dc:creator>
      <dc:date>2015-09-30T14:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: What's the proper configuration for proxy.config and config.json for a self-hosted Web AppBuilder for ArcGIS Web Application?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726959#M36020</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;I also have a problem with the proxy and WAB. Here is my situation : I develop a widget that needs to access data from a mapservice hosted on my ArcGIS Server. I can't let this ressource unsecured so I have ArcGIS Users and Roles for that AGS and some of the roles have access to the service.&lt;/P&gt;&lt;P&gt;My application built with WAB needs to access those data without asking the user for credentials.&lt;/P&gt;&lt;P&gt;So I use the proxy to pass my parameters username and password in the proxy.config file but everytime I try to access (through the wab or directly in the browser) one of the services I registered through the proxy, I receive the ArcGIS Login Rest endpoint.&lt;/P&gt;&lt;P&gt;Isn't the proxy DotNet made by ESRI on github supposed to get the token by itself and proxy my request to the service and return the REST result?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 23:21:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726959#M36020</guid>
      <dc:creator>EmmanuelRosetti</dc:creator>
      <dc:date>2015-11-06T23:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: What's the proper configuration for proxy.config and config.json for a self-hosted Web AppBuilder for ArcGIS Web Application?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726960#M36021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Emmanuel, you may want to read thru &lt;A href="https://community.esri.com/thread/165919"&gt;Internal ONLY Web Map Sharing Issues&lt;/A&gt; for more related info on the proxy with WAB and local services.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Nov 2015 09:59:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/what-s-the-proper-configuration-for-proxy-config/m-p/726960#M36021</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2015-11-08T09:59:52Z</dc:date>
    </item>
  </channel>
</rss>

