<?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: Embedded credentials for Directions Widget Route URL in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embedded-credentials-for-directions-widget-route/m-p/376763#M10039</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The use of alwaysUseProxy=true is definitely not required. You just need to add a rule to your config.json&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"httpProxy": {&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; "useProxy": true,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; "alwaysUseProxy": false,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; "url": "/DotNet/proxy.ashx",&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; "rules": [&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&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%2Froute.arcgis.com%2F" rel="nofollow" target="_blank"&gt;http://route.arcgis.com/&lt;/A&gt;&lt;SPAN&gt;", "proxyUrl": "/DotNet/proxy.ashx" },&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&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%2Ftraffic.arcgis.com%2F" rel="nofollow" target="_blank"&gt;http://traffic.arcgis.com/&lt;/A&gt;&lt;SPAN&gt;", "proxyUrl": "/DotNet/proxy.ashx" }&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ]&amp;nbsp; &lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Dec 2015 17:36:47 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2015-12-14T17:36:47Z</dc:date>
    <item>
      <title>Embedded credentials for Directions Widget Route URL</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embedded-credentials-for-directions-widget-route/m-p/376760#M10036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does AGOL and the Directions Widget not support embedded credentials for a routing service called from an on premise web server?&amp;nbsp; If I add the AGOL routing url to MyContent and choose to store the credentials, and then use that URL in the directions widget is works if I access the app from our organization's URL but not from arcgis.com or from our own corporate web server.&amp;nbsp; In those cases I still get the prompt for credentials.&amp;nbsp; Use case is a public site using this widget, and application hosted on own web server&amp;nbsp; Thanks for any thoughts.&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 16:24:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embedded-credentials-for-directions-widget-route/m-p/376760#M10036</guid>
      <dc:creator>SBerg_VHB</dc:creator>
      <dc:date>2015-12-14T16:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: Embedded credentials for Directions Widget Route URL</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embedded-credentials-for-directions-widget-route/m-p/376761#M10037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; For your use case example the use of a proxy that stores the credentials is required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/resource-proxy" title="https://github.com/Esri/resource-proxy"&gt;Esri/resource-proxy · GitHub&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 16:48:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embedded-credentials-for-directions-widget-route/m-p/376761#M10037</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-12-14T16:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Embedded credentials for Directions Widget Route URL</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embedded-credentials-for-directions-widget-route/m-p/376762#M10038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert, I'm on it.&amp;nbsp; It seems as though you have to use "alwaysUseProxy=true" to get it to fire correctly which is not ideal as all requests now go through that server side code, but at least the prompt is avoided.&amp;nbsp; Appreciate that.&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 17:18:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embedded-credentials-for-directions-widget-route/m-p/376762#M10038</guid>
      <dc:creator>SBerg_VHB</dc:creator>
      <dc:date>2015-12-14T17:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Embedded credentials for Directions Widget Route URL</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embedded-credentials-for-directions-widget-route/m-p/376763#M10039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The use of alwaysUseProxy=true is definitely not required. You just need to add a rule to your config.json&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"httpProxy": {&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; "useProxy": true,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; "alwaysUseProxy": false,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; "url": "/DotNet/proxy.ashx",&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; "rules": [&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&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%2Froute.arcgis.com%2F" rel="nofollow" target="_blank"&gt;http://route.arcgis.com/&lt;/A&gt;&lt;SPAN&gt;", "proxyUrl": "/DotNet/proxy.ashx" },&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&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%2Ftraffic.arcgis.com%2F" rel="nofollow" target="_blank"&gt;http://traffic.arcgis.com/&lt;/A&gt;&lt;SPAN&gt;", "proxyUrl": "/DotNet/proxy.ashx" }&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ]&amp;nbsp; &lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 17:36:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embedded-credentials-for-directions-widget-route/m-p/376763#M10039</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-12-14T17:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Embedded credentials for Directions Widget Route URL</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embedded-credentials-for-directions-widget-route/m-p/376764#M10040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome, thanks.&amp;nbsp; You know, I had these in the proxy.config but moving them up into the config.json of the app for the proxy did the trick.&amp;nbsp; Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2e75b6; font-size: 10pt; font-family: Consolas;"&gt;"rules"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;: [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2e75b6; font-size: 10pt; font-family: Consolas;"&gt;"urlPrefix"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: 10pt; font-family: Consolas;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Froute.arcgis.com%2F" rel="nofollow" target="_blank"&gt;http://route.arcgis.com/&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2e75b6; font-size: 10pt; font-family: Consolas;"&gt;"proxyUrl"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: 10pt; font-family: Consolas;"&gt;"proxy/proxy.ashx"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a31515; font-size: 10pt; font-family: Consolas;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2e75b6; font-size: 10pt; font-family: Consolas;"&gt;"urlPrefix"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: 10pt; font-family: Consolas;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Ftraffic.arcgis.com%2F" rel="nofollow" target="_blank"&gt;http://traffic.arcgis.com/&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2e75b6; font-size: 10pt; font-family: Consolas;"&gt;"proxyUrl"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: 10pt; font-family: Consolas;"&gt;"proxy/proxy.ashx"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a31515; font-size: 10pt; font-family: Consolas;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2e75b6; font-size: 10pt; font-family: Consolas;"&gt;"urlPrefix"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: 10pt; font-family: Consolas;"&gt;&lt;SPAN&gt;"&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%2F" rel="nofollow" target="_blank"&gt;http://utility.arcgis.com/&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2e75b6; font-size: 10pt; font-family: Consolas;"&gt;"proxyUrl"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: 10pt; font-family: Consolas;"&gt;"proxy/proxy.ashx"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a31515; font-size: 10pt; font-family: Consolas;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2e75b6; font-size: 10pt; font-family: Consolas;"&gt;"urlPrefix"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: 10pt; font-family: Consolas;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Flogistics.arcgis.com%2F" rel="nofollow" target="_blank"&gt;http://logistics.arcgis.com/&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2e75b6; font-size: 10pt; font-family: Consolas;"&gt;"proxyUrl"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: 10pt; font-family: Consolas;"&gt;"proxy/proxy.ashx"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a31515; font-size: 10pt; font-family: Consolas;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 17:59:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embedded-credentials-for-directions-widget-route/m-p/376764#M10040</guid>
      <dc:creator>SBerg_VHB</dc:creator>
      <dc:date>2015-12-14T17:59:19Z</dc:date>
    </item>
  </channel>
</rss>

