<?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: Pulled private Web Map, but do not have access to Feature Layers. in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pulled-private-web-map-but-do-not-have-access-to/m-p/1331746#M82289</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/674793"&gt;@TristanG&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Application authentication is intended to access location services and not private content. You also never want to add your client secret to client side code.&amp;nbsp; Doing so will would allow users who might inspect your application with developer tools to steal your client secret.&amp;nbsp; Only the app id should be used client side.&amp;nbsp; More details on application authentication and the limitations are located here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/secure-resources/#app-credential-authentication" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/secure-resources/#app-credential-authentication&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you want to avoid having your users sign in an still share private content I'd suggest setting up and using network credentials.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/secure-resources/#network-credentials" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/secure-resources/#network-credentials&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this helps &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 23 Sep 2023 12:20:54 GMT</pubDate>
    <dc:creator>Sage_Wall</dc:creator>
    <dc:date>2023-09-23T12:20:54Z</dc:date>
    <item>
      <title>Pulled private Web Map, but do not have access to Feature Layers.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pulled-private-web-map-but-do-not-have-access-to/m-p/1331623#M82283</link>
      <description>&lt;P&gt;I have a private Web Map, that I am trying to access through JavaScript, I created an application to get the OAuth id's and tokens. When the Map loads in, it can get to the base map, but it cannot get the private feature layers that are part of the Web Map.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Oct 2023 05:21:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pulled-private-web-map-but-do-not-have-access-to/m-p/1331623#M82283</guid>
      <dc:creator>TristanG</dc:creator>
      <dc:date>2023-10-08T05:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Pulled private Web Map, but do not have access to Feature Layers.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pulled-private-web-map-but-do-not-have-access-to/m-p/1331746#M82289</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/674793"&gt;@TristanG&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Application authentication is intended to access location services and not private content. You also never want to add your client secret to client side code.&amp;nbsp; Doing so will would allow users who might inspect your application with developer tools to steal your client secret.&amp;nbsp; Only the app id should be used client side.&amp;nbsp; More details on application authentication and the limitations are located here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/secure-resources/#app-credential-authentication" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/secure-resources/#app-credential-authentication&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you want to avoid having your users sign in an still share private content I'd suggest setting up and using network credentials.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/secure-resources/#network-credentials" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/secure-resources/#network-credentials&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this helps &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Sep 2023 12:20:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pulled-private-web-map-but-do-not-have-access-to/m-p/1331746#M82289</guid>
      <dc:creator>Sage_Wall</dc:creator>
      <dc:date>2023-09-23T12:20:54Z</dc:date>
    </item>
  </channel>
</rss>

