<?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 PrintTask with external WMS layer using JWT authentication — is token field supported? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-with-external-wms-layer-using-jwt/m-p/1691868#M88315</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using PrintTask (ArcGIS JS API 4) with a WMS layer that requires JWT-based authentication (issued by a third-party GeoServer, not ArcGIS Server).&lt;/P&gt;&lt;P&gt;According to the ExportWebMap specification, there is a `token` field in the operationalLayers definition. However, the spec only mentions that OAuth2 is not supported and that credentials in the URL are not supported — it does not clarify what type of token is accepted.&lt;/P&gt;&lt;P&gt;My question: Does the `token` field in the ExportWebMap spec support non-ArcGIS tokens such as a JWT issued by a third-party WMS service (e.g., GeoServer)? Or is it strictly limited to ArcGIS token-based authentication?&lt;/P&gt;&lt;P&gt;If JWT is not supported via the `token` field, is there any other way to pass authentication headers (e.g., Bearer token) to a secured external WMS layer during printing?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Mon, 23 Mar 2026 03:08:37 GMT</pubDate>
    <dc:creator>JTTT</dc:creator>
    <dc:date>2026-03-23T03:08:37Z</dc:date>
    <item>
      <title>PrintTask with external WMS layer using JWT authentication — is token field supported?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-with-external-wms-layer-using-jwt/m-p/1691868#M88315</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using PrintTask (ArcGIS JS API 4) with a WMS layer that requires JWT-based authentication (issued by a third-party GeoServer, not ArcGIS Server).&lt;/P&gt;&lt;P&gt;According to the ExportWebMap specification, there is a `token` field in the operationalLayers definition. However, the spec only mentions that OAuth2 is not supported and that credentials in the URL are not supported — it does not clarify what type of token is accepted.&lt;/P&gt;&lt;P&gt;My question: Does the `token` field in the ExportWebMap spec support non-ArcGIS tokens such as a JWT issued by a third-party WMS service (e.g., GeoServer)? Or is it strictly limited to ArcGIS token-based authentication?&lt;/P&gt;&lt;P&gt;If JWT is not supported via the `token` field, is there any other way to pass authentication headers (e.g., Bearer token) to a secured external WMS layer during printing?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2026 03:08:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-with-external-wms-layer-using-jwt/m-p/1691868#M88315</guid>
      <dc:creator>JTTT</dc:creator>
      <dc:date>2026-03-23T03:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTask with external WMS layer using JWT authentication — is token field supported?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-with-external-wms-layer-using-jwt/m-p/1692264#M88329</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/981191"&gt;@JTTT&lt;/a&gt;,&amp;nbsp;thanks for posting your question here.&amp;nbsp;The token field is only meant for ArcGIS tokens. The print service reads it and then passes it along in its own requests as a token URL parameter. Unfortunately, we don't have a way to send custom headers from print services.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2026 15:49:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-with-external-wms-layer-using-jwt/m-p/1692264#M88329</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2026-03-24T15:49:44Z</dc:date>
    </item>
  </channel>
</rss>

