<?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: Places 401 req auth no token, even though I have apikey in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/places-401-req-auth-no-token-even-though-i-have/m-p/1505580#M85046</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/578740"&gt;@mnoel2&lt;/a&gt;- I believe this is the case where there's a bit of confusion.&lt;/P&gt;&lt;P&gt;So to use a API key - you must create a separate esri location platform account and host your featureService from there. This is different from a developer account associated with an AGOL account.&lt;/P&gt;&lt;P&gt;Only then I believe the API key will work for accessing the content, otherwise you'll need to follow standard esri authentication guidelines around using oAuth&lt;/P&gt;</description>
    <pubDate>Mon, 15 Jul 2024 21:17:33 GMT</pubDate>
    <dc:creator>JamesIng</dc:creator>
    <dc:date>2024-07-15T21:17:33Z</dc:date>
    <item>
      <title>Places 401 req auth no token, even though I have apikey</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/places-401-req-auth-no-token-even-though-i-have/m-p/1505160#M85033</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a simple application that finds the nearest UFO sightings when the user enters a city and clicks search. A popup will display the UFO sighting and show details and how far from the city entered.&lt;BR /&gt;&lt;BR /&gt;I have created the credentials in the new Arcgis platform for developers, I have created an apiKey and assigned the proper privileges to my local application and hosted service in AGOL:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;A href="https://services6.arcgis.com/XC8RCfadrDoUDrun/arcgis/rest/services/EncuentrosDeOvni/FeatureServer/0" target="_blank" rel="noopener"&gt;https://services6.arcgis.com/XC8RCfadrDoUDrun/arcgis/rest/services/EncuentrosDeOvni/FeatureServer/0&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;and referenced in the code. My ApiKey is set to expire at the end of the month. However, I'm still getting unable to authorize access without token. I thought based on the esri documentation my application only needs the apikey to access the services such as places.&lt;BR /&gt;&lt;BR /&gt;You can view code at&amp;nbsp;&lt;A href="https://github.com/mnavidad/UFOSIGHTINGSAPP/" target="_blank" rel="noopener"&gt;https://github.com/mnavidad/UFOSIGHTINGSAPP/&lt;/A&gt;&amp;nbsp; use vite to run code&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jul 2024 19:41:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/places-401-req-auth-no-token-even-though-i-have/m-p/1505160#M85033</guid>
      <dc:creator>mnoel2</dc:creator>
      <dc:date>2024-07-13T19:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Places 401 req auth no token, even though I have apikey</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/places-401-req-auth-no-token-even-though-i-have/m-p/1505210#M85034</link>
      <description>&lt;P&gt;There seems to be a bit of confusion, but from what I have tested and understand.&lt;/P&gt;&lt;P&gt;The newly released API keys in Esri Location Platform (formerly esri platform) only works with featureServices that have been uploaded into the same account - Not AGOL. Accessing features in AGOL still requires the standardised Esri authentication.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jul 2024 23:32:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/places-401-req-auth-no-token-even-though-i-have/m-p/1505210#M85034</guid>
      <dc:creator>JamesIng</dc:creator>
      <dc:date>2024-07-14T23:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Places 401 req auth no token, even though I have apikey</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/places-401-req-auth-no-token-even-though-i-have/m-p/1505341#M85040</link>
      <description>&lt;P&gt;Hi James&lt;/P&gt;&lt;P&gt;thank you for your response, pardon I do not follow, my feature service has been loaded or it is hosted in the account I had to create that is an AGOL account that is tied to the Arcgis platform for developers.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 12:58:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/places-401-req-auth-no-token-even-though-i-have/m-p/1505341#M85040</guid>
      <dc:creator>mnoel2</dc:creator>
      <dc:date>2024-07-15T12:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Places 401 req auth no token, even though I have apikey</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/places-401-req-auth-no-token-even-though-i-have/m-p/1505580#M85046</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/578740"&gt;@mnoel2&lt;/a&gt;- I believe this is the case where there's a bit of confusion.&lt;/P&gt;&lt;P&gt;So to use a API key - you must create a separate esri location platform account and host your featureService from there. This is different from a developer account associated with an AGOL account.&lt;/P&gt;&lt;P&gt;Only then I believe the API key will work for accessing the content, otherwise you'll need to follow standard esri authentication guidelines around using oAuth&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 21:17:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/places-401-req-auth-no-token-even-though-i-have/m-p/1505580#M85046</guid>
      <dc:creator>JamesIng</dc:creator>
      <dc:date>2024-07-15T21:17:33Z</dc:date>
    </item>
  </channel>
</rss>

