<?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: Prompted for sign in using apiKey in SDK in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/prompted-for-sign-in-using-apikey-in-sdk/m-p/1557120#M86053</link>
    <description>&lt;P&gt;I am beginning to think that my issue was in the&amp;nbsp;Referrer URLs and that I may be putting the wrong thing in there.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 09 Nov 2024 19:24:41 GMT</pubDate>
    <dc:creator>JohnDMorgan</dc:creator>
    <dc:date>2024-11-09T19:24:41Z</dc:date>
    <item>
      <title>Prompted for sign in using apiKey in SDK</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/prompted-for-sign-in-using-apikey-in-sdk/m-p/1557116#M86052</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working through the Display a Map tutorial for SDK for JS:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/tutorials/display-a-map/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/tutorials/display-a-map/&lt;/A&gt;.&amp;nbsp;When I am referencing my API key from CodePen I get a sign-in prompt like so&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohnDMorgan_0-1731175423473.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/119218i07DC318EF3C697D3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohnDMorgan_0-1731175423473.png" alt="JohnDMorgan_0-1731175423473.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Using&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;script&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;var&lt;/SPAN&gt;&lt;SPAN class=""&gt; esriConfig = { &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;apiKey&lt;/SPAN&gt;&lt;SPAN class=""&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;"YOUR_ACCESS_TOKEN"&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;}; &lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN class=""&gt;script&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But I do put my key in there. Is there a way to avoid getting this prompt? I am just trying to add the basemap as outlined int the tutorial&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;arcgis-map&lt;/SPAN&gt; &lt;SPAN class=""&gt;basemap&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;"arcgis/topographic"&lt;/SPAN&gt; &lt;SPAN class=""&gt;center&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;"-118.805, 34.027"&lt;/SPAN&gt; &lt;SPAN class=""&gt;zoom&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;"13"&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;arcgis-zoom&lt;/SPAN&gt; &lt;SPAN class=""&gt;position&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;"top-left"&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN class=""&gt;arcgis-zoom&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN class=""&gt;arcgis-map&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Derek&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Nov 2024 18:06:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/prompted-for-sign-in-using-apikey-in-sdk/m-p/1557116#M86052</guid>
      <dc:creator>JohnDMorgan</dc:creator>
      <dc:date>2024-11-09T18:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Prompted for sign in using apiKey in SDK</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/prompted-for-sign-in-using-apikey-in-sdk/m-p/1557120#M86053</link>
      <description>&lt;P&gt;I am beginning to think that my issue was in the&amp;nbsp;Referrer URLs and that I may be putting the wrong thing in there.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Nov 2024 19:24:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/prompted-for-sign-in-using-apikey-in-sdk/m-p/1557120#M86053</guid>
      <dc:creator>JohnDMorgan</dc:creator>
      <dc:date>2024-11-09T19:24:41Z</dc:date>
    </item>
  </channel>
</rss>

