<?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: Token generation Error in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/token-generation-error/m-p/1074123#M30610</link>
    <description>&lt;P&gt;Do you have to retrieve the token via a GET?&amp;nbsp;&lt;A href="https://enterprise.arcgis.com/en/server/latest/administer/windows/enable-token-acquisition-through-an-http-get-request.htm" target="_blank"&gt;Enable token acquisition through an HTTP GET request—ArcGIS Server | Documentation for ArcGIS Enterprise&lt;/A&gt;&lt;/P&gt;&lt;P&gt;or can you do a POST via the REST instead?&lt;/P&gt;</description>
    <pubDate>Wed, 30 Jun 2021 12:59:44 GMT</pubDate>
    <dc:creator>DavidPike</dc:creator>
    <dc:date>2021-06-30T12:59:44Z</dc:date>
    <item>
      <title>Token generation Error</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/token-generation-error/m-p/1074094#M30609</link>
      <description>&lt;P&gt;I'm trying to generate token for accessing a secured service in an JavaScript application. We are using Federated Server 10.8. while trying to generate a token using a URL in the browser , the attached error appears. Kindly Suggest.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 12:16:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/token-generation-error/m-p/1074094#M30609</guid>
      <dc:creator>MANESK</dc:creator>
      <dc:date>2021-06-30T12:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Token generation Error</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/token-generation-error/m-p/1074123#M30610</link>
      <description>&lt;P&gt;Do you have to retrieve the token via a GET?&amp;nbsp;&lt;A href="https://enterprise.arcgis.com/en/server/latest/administer/windows/enable-token-acquisition-through-an-http-get-request.htm" target="_blank"&gt;Enable token acquisition through an HTTP GET request—ArcGIS Server | Documentation for ArcGIS Enterprise&lt;/A&gt;&lt;/P&gt;&lt;P&gt;or can you do a POST via the REST instead?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 12:59:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/token-generation-error/m-p/1074123#M30610</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2021-06-30T12:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Token generation Error</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/token-generation-error/m-p/1074424#M30618</link>
      <description>&lt;P&gt;For a federated ArcGIS Server site, you should first generate a token for the associated Portal for ArcGIS user, then use that generated token to create a server token from the same endpoint (see reference below). I think&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/167692"&gt;@DavidPike&lt;/a&gt;&amp;nbsp;is correct that you're trying to generate a token from Server using a GET request judging by the error, but taking into account the federation aspect means you shouldn't be using a token generated from the ArcGIS Server endpoint at all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/generateToken: Generate Token—ArcGIS REST API | ArcGIS Developers&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/rest/users-groups-and-items/generate-token.htm" target="_blank"&gt;https://developers.arcgis.com/rest/users-groups-and-items/generate-token.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 19:59:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/token-generation-error/m-p/1074424#M30618</guid>
      <dc:creator>ChristopherPawlyszyn</dc:creator>
      <dc:date>2021-06-30T19:59:46Z</dc:date>
    </item>
  </channel>
</rss>

