<?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 Javascript API Proxy setup with Portal Federated Server in ArcGIS Enterprise Portal Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/javascript-api-proxy-setup-with-portal-federated/m-p/253832#M3435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm trying to figure out how to setup my Javascript API proxy.config "serverUrl" so it works with secured services on our Portal federated ArcGIS Server. I have not found any documentation that seems useful in this regard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our Portal is using default portal authentication and the ArcGIS Server is federated with the portal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I use the ArcGIS Online style entry with clientId and clientSecret or do I use the ArcGIS Server token based pattern; username and password with tokenServiceUri? Or something else? Where does the token come from? Portal or Server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone could give me some examples, I would appreciate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Oct 2015 19:54:37 GMT</pubDate>
    <dc:creator>DaveHighness</dc:creator>
    <dc:date>2015-10-19T19:54:37Z</dc:date>
    <item>
      <title>Javascript API Proxy setup with Portal Federated Server</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/javascript-api-proxy-setup-with-portal-federated/m-p/253832#M3435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm trying to figure out how to setup my Javascript API proxy.config "serverUrl" so it works with secured services on our Portal federated ArcGIS Server. I have not found any documentation that seems useful in this regard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our Portal is using default portal authentication and the ArcGIS Server is federated with the portal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I use the ArcGIS Online style entry with clientId and clientSecret or do I use the ArcGIS Server token based pattern; username and password with tokenServiceUri? Or something else? Where does the token come from? Portal or Server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone could give me some examples, I would appreciate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 19:54:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/javascript-api-proxy-setup-with-portal-federated/m-p/253832#M3435</guid>
      <dc:creator>DaveHighness</dc:creator>
      <dc:date>2015-10-19T19:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript API Proxy setup with Portal Federated Server</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/javascript-api-proxy-setup-with-portal-federated/m-p/253833#M3436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured it out. Point the proxy to the Portal token page and give it the user and password with permission to use the service.&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="*" mustMatch="false"&amp;gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;lt;serverUrls&amp;gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&amp;lt;serverUrl&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;&lt;SPAN&gt;url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fyourdomain.com%2Farcgis%2F" rel="nofollow" target="_blank"&gt;https://yourdomain.com/arcgis/&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;username="youruser"&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;password="yourpass"&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;&lt;SPAN&gt;tokenServiceUri="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fyourdomain.com%2Fportal%2Fsharing%2FgenerateToken" rel="nofollow" target="_blank"&gt;https://yourdomain.com/portal/sharing/generateToken&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;matchAll="true"&amp;gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&amp;lt;/serverUrl&amp;gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;lt;/serverUrls&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/ProxyConfig&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 21:36:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/javascript-api-proxy-setup-with-portal-federated/m-p/253833#M3436</guid>
      <dc:creator>DaveHighness</dc:creator>
      <dc:date>2015-10-19T21:36:54Z</dc:date>
    </item>
  </channel>
</rss>

