<?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: GeoJSON Layer - ArcGIS JS API - External URL with oAuth2.0 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geojson-layer-arcgis-js-api-external-url-with/m-p/73579#M6647</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would recommend trying the Esri Resource Proxy for this use case:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/guide/proxies/"&gt;https://developers.arcgis.com/javascript/latest/guide/proxies/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jul 2019 18:30:32 GMT</pubDate>
    <dc:creator>Noah-Sager</dc:creator>
    <dc:date>2019-07-23T18:30:32Z</dc:date>
    <item>
      <title>GeoJSON Layer - ArcGIS JS API - External URL with oAuth2.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geojson-layer-arcgis-js-api-external-url-with/m-p/73578#M6646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using ArcGIS JS API and connecting to an external GeoJSON service for my GeoJSON Layer. However, for security reasons oAuth2.0 has been enabled on the service.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So now I am lost as to how to connect to this service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;esri/identity/OAuthInfo has URL option only for ArcGIS Portal URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe it should be a combination of&amp;nbsp;&lt;SPAN style="color: #c41a16; background-color: #ffffff;"&gt;esri/identity/IdentityManager &lt;/SPAN&gt;&lt;SPAN style="color: #c41a16; background-color: #ffffff;"&gt;and&amp;nbsp;&lt;SPAN style="color: #c41a16;"&gt;esri/identity/Credential&amp;nbsp;&lt;SPAN style="color: #3d3d3d; background-color: #ffffff;"&gt;but it would be great if there is some step-by-step guidance.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2019 05:59:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geojson-layer-arcgis-js-api-external-url-with/m-p/73578#M6646</guid>
      <dc:creator>GeorgeAbraham1</dc:creator>
      <dc:date>2019-07-23T05:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: GeoJSON Layer - ArcGIS JS API - External URL with oAuth2.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geojson-layer-arcgis-js-api-external-url-with/m-p/73579#M6647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would recommend trying the Esri Resource Proxy for this use case:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/guide/proxies/"&gt;https://developers.arcgis.com/javascript/latest/guide/proxies/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2019 18:30:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geojson-layer-arcgis-js-api-external-url-with/m-p/73579#M6647</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2019-07-23T18:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: GeoJSON Layer - ArcGIS JS API - External URL with oAuth2.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geojson-layer-arcgis-js-api-external-url-with/m-p/73580#M6648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Noah,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks for the insights - I read through and see there is an mention of client_id and client_secret etc via the proxy though not sure if I got the entire steps how it is to be done. Since setting up the proxy server - one option is via JSP/Java, I will also get in touch with a Java guy to see if its something that he can do based on the article.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, it would be great if you can any code sample/prototype that could explain a little more in detail - much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jul 2019 03:55:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geojson-layer-arcgis-js-api-external-url-with/m-p/73580#M6648</guid>
      <dc:creator>GeorgeAbraham1</dc:creator>
      <dc:date>2019-07-27T03:55:04Z</dc:date>
    </item>
  </channel>
</rss>

