<?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 Programatically generate tokens from the portal rest in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/programatically-generate-tokens-from-the-portal/m-p/16369#M413</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody tell me the correct way to&amp;nbsp;generate a token from the portal rest endpoint? the following returned "method not supported".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.abc.com/portal/sharing/rest/generateToken?username=&amp;lt;username&amp;gt;&amp;amp;password=&amp;lt;password&amp;gt;&amp;amp;webapp%20url=&amp;lt;url&amp;gt;&amp;amp;expiration=1440"&gt;https://www.abc.com/portal/sharing/rest/generateToken?username=&amp;lt;username&amp;gt;&amp;amp;password=&amp;lt;password&amp;gt;&amp;amp;client=referer&amp;amp;referer=&amp;lt;url&amp;gt;&amp;amp;expiration=1440&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="346350" class="j-img-floatstart image-1 jive-image" src="https://community.esri.com/legacyfs/online/346350_pastedImage_4.png" style="width: auto; height: auto; float: left;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Apr 2017 02:15:15 GMT</pubDate>
    <dc:creator>Alexwang</dc:creator>
    <dc:date>2017-04-13T02:15:15Z</dc:date>
    <item>
      <title>Programatically generate tokens from the portal rest</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/programatically-generate-tokens-from-the-portal/m-p/16369#M413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody tell me the correct way to&amp;nbsp;generate a token from the portal rest endpoint? the following returned "method not supported".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.abc.com/portal/sharing/rest/generateToken?username=&amp;lt;username&amp;gt;&amp;amp;password=&amp;lt;password&amp;gt;&amp;amp;webapp%20url=&amp;lt;url&amp;gt;&amp;amp;expiration=1440"&gt;https://www.abc.com/portal/sharing/rest/generateToken?username=&amp;lt;username&amp;gt;&amp;amp;password=&amp;lt;password&amp;gt;&amp;amp;client=referer&amp;amp;referer=&amp;lt;url&amp;gt;&amp;amp;expiration=1440&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="346350" class="j-img-floatstart image-1 jive-image" src="https://community.esri.com/legacyfs/online/346350_pastedImage_4.png" style="width: auto; height: auto; float: left;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2017 02:15:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/programatically-generate-tokens-from-the-portal/m-p/16369#M413</guid>
      <dc:creator>Alexwang</dc:creator>
      <dc:date>2017-04-13T02:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically generate tokens from the portal rest</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/programatically-generate-tokens-from-the-portal/m-p/16370#M414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the generateToken is a post only. I was able to use codes via a post to generate a token from portal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/347159_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 18:30:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/programatically-generate-tokens-from-the-portal/m-p/16370#M414</guid>
      <dc:creator>Alexwang</dc:creator>
      <dc:date>2017-04-19T18:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically generate tokens from the portal rest</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/programatically-generate-tokens-from-the-portal/m-p/16371#M415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to do similar, but when I send the POST, I get an error that username and password should not be sent via query parameters. This is true even if I set the allowHttpPostQueryParams = true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas what might be wrong on my end?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Jun 2017 00:24:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/programatically-generate-tokens-from-the-portal/m-p/16371#M415</guid>
      <dc:creator>BrianMyrick</dc:creator>
      <dc:date>2017-06-17T00:24:19Z</dc:date>
    </item>
  </channel>
</rss>

