<?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: inconsistent support for auth headers in ArcGIS Location Platform Developers Ques.</title>
    <link>https://community.esri.com/t5/arcgis-location-platform-developers-ques/inconsistent-support-for-auth-headers/m-p/1569614#M139</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/842152"&gt;@msuk1&lt;/a&gt;the way to do this is to call the basemap style service with your authentication token in the header as documented here: &lt;A href="https://developers.arcgis.com/rest/basemap-styles/arcgis-navigation-style-get/#token" target="_blank"&gt;https://developers.arcgis.com/rest/basemap-styles/arcgis-navigation-style-get/#token&lt;/A&gt;&lt;/P&gt;&lt;P&gt;subsequent tile requests should then supply the token. This is typically done with the mapping library. You can review some of the open-source implementations provided on &lt;A href="https://developers.arcgis.com/documentation/#open-source-mapping-libraries" target="_blank"&gt;https://developers.arcgis.com/documentation/#open-source-mapping-libraries&lt;/A&gt;, Esri Leaflet is a popular one that demonstrates this.&lt;/P&gt;</description>
    <pubDate>Wed, 18 Dec 2024 00:01:46 GMT</pubDate>
    <dc:creator>John-Foster</dc:creator>
    <dc:date>2024-12-18T00:01:46Z</dc:date>
    <item>
      <title>inconsistent support for auth headers</title>
      <link>https://community.esri.com/t5/arcgis-location-platform-developers-ques/inconsistent-support-for-auth-headers/m-p/1568560#M135</link>
      <description>&lt;P&gt;Hi team,&lt;BR /&gt;&lt;BR /&gt;I am trying to use an open source library to display arcgis vector tiles in my app.&lt;BR /&gt;The library specifies authorisation via http auth headers, which should be supported as per docs:&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/documentation/security-and-authentication/reference/http-header-authentication/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/documentation/security-and-authentication/reference/http-header-authentication/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I find that this is not the case for some endpoints, eg:&lt;BR /&gt;&lt;A title="Ctrl + click to follow link" target="_blank"&gt;https://basemaps-api.arcgis.com/arcgis/rest/services/World_Basemap_v2/VectorTileServer&lt;/A&gt;&lt;BR /&gt;It requires an explicit token param.&lt;BR /&gt;&lt;BR /&gt;Can you please check how I can specify auth headers for this endpoint?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 20:33:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-location-platform-developers-ques/inconsistent-support-for-auth-headers/m-p/1568560#M135</guid>
      <dc:creator>msuk1</dc:creator>
      <dc:date>2024-12-13T20:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: inconsistent support for auth headers</title>
      <link>https://community.esri.com/t5/arcgis-location-platform-developers-ques/inconsistent-support-for-auth-headers/m-p/1568583#M136</link>
      <description>&lt;P&gt;On second thought the library may be doing the wrong thing.&lt;BR /&gt;I see that initial request to get the tiles url contains the token so that should work without the auth header.&lt;BR /&gt;I don't see an option to delete this post.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 21:32:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-location-platform-developers-ques/inconsistent-support-for-auth-headers/m-p/1568583#M136</guid>
      <dc:creator>msuk1</dc:creator>
      <dc:date>2024-12-13T21:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: inconsistent support for auth headers</title>
      <link>https://community.esri.com/t5/arcgis-location-platform-developers-ques/inconsistent-support-for-auth-headers/m-p/1569614#M139</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/842152"&gt;@msuk1&lt;/a&gt;the way to do this is to call the basemap style service with your authentication token in the header as documented here: &lt;A href="https://developers.arcgis.com/rest/basemap-styles/arcgis-navigation-style-get/#token" target="_blank"&gt;https://developers.arcgis.com/rest/basemap-styles/arcgis-navigation-style-get/#token&lt;/A&gt;&lt;/P&gt;&lt;P&gt;subsequent tile requests should then supply the token. This is typically done with the mapping library. You can review some of the open-source implementations provided on &lt;A href="https://developers.arcgis.com/documentation/#open-source-mapping-libraries" target="_blank"&gt;https://developers.arcgis.com/documentation/#open-source-mapping-libraries&lt;/A&gt;, Esri Leaflet is a popular one that demonstrates this.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 00:01:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-location-platform-developers-ques/inconsistent-support-for-auth-headers/m-p/1569614#M139</guid>
      <dc:creator>John-Foster</dc:creator>
      <dc:date>2024-12-18T00:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: inconsistent support for auth headers</title>
      <link>https://community.esri.com/t5/arcgis-location-platform-developers-ques/inconsistent-support-for-auth-headers/m-p/1569693#M140</link>
      <description>&lt;P&gt;Thanks John, that's what I realised eventually.&lt;BR /&gt;The style contains a source field, and the library I amusing was making a subsequent request to the url specified in the source.&lt;BR /&gt;There's no obvious reason for it so I have asked the library owner to fix it.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 11:27:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-location-platform-developers-ques/inconsistent-support-for-auth-headers/m-p/1569693#M140</guid>
      <dc:creator>msuk1</dc:creator>
      <dc:date>2024-12-18T11:27:31Z</dc:date>
    </item>
  </channel>
</rss>

