<?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 Should it work? Get token for ArcGIS Server programmaticaly in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/should-it-work-get-token-for-arcgis-server/m-p/644246#M60095</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We try to get token programmaticaly with URL&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://gisdomain.com/arcgis/tokens/request=gettoken&amp;amp;username=USER&amp;amp;password=PSW&amp;amp;clientid=ref.http://www.referrerdomain.com&amp;amp;expiration=1&amp;amp;f=json" title="https://gisdomain.com/arcgis/tokens/request=gettoken&amp;amp;username=USER&amp;amp;password=PSW&amp;amp;clientid=ref.http://www.referrerdomain.com&amp;amp;expiration=1&amp;amp;f=json"&gt;https://anygisdomain.com/arcgis/tokens/request=gettoken&amp;amp;username=USER&amp;amp;password=PSW&amp;amp;clientid=ref.http://www.anyreferrerdomain.com&amp;amp;expiration=1&amp;amp;f=json&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or in short (from ESRI help:&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 12.8px;"&gt;If client and expiration parameters are not included, a short lived token will be generated and expiration will use the short-lived token time-out setting) see the link&amp;nbsp;&lt;A class="link-titled" href="http://help.arcgis.com/EN/arcgisdesktop/10.0/help/index.html#//00040000002w000000" title="http://help.arcgis.com/EN/arcgisdesktop/10.0/help/index.html#//00040000002w000000"&gt;ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://gisdomain.com/arcgis/tokens/request=gettoken&amp;amp;username=USER&amp;amp;password=PSW&amp;amp;clientid=ref.http://www.referrerdomain.com&amp;amp;expiration=1&amp;amp;f=json" style="color: #2989c5; text-decoration: underline;" title="https://gisdomain.com/arcgis/tokens/request=gettoken&amp;amp;username=USER&amp;amp;password=PSW&amp;amp;clientid=ref.http://www.referrerdomain.com&amp;amp;expiration=1&amp;amp;f=json"&gt;https://anygisdomain.com/arcgis/tokens/request=gettoken&amp;amp;username=USER&amp;amp;password=PSW&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It returns (test in Chrome) &amp;nbsp;- "Server Error in '/arcgis' Application."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could be done?&lt;/P&gt;&lt;P&gt;What we doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All help will be greatly appreciated.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Dec 2016 03:06:28 GMT</pubDate>
    <dc:creator>PitersonPaulgek</dc:creator>
    <dc:date>2016-12-08T03:06:28Z</dc:date>
    <item>
      <title>Should it work? Get token for ArcGIS Server programmaticaly</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/should-it-work-get-token-for-arcgis-server/m-p/644246#M60095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We try to get token programmaticaly with URL&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://gisdomain.com/arcgis/tokens/request=gettoken&amp;amp;username=USER&amp;amp;password=PSW&amp;amp;clientid=ref.http://www.referrerdomain.com&amp;amp;expiration=1&amp;amp;f=json" title="https://gisdomain.com/arcgis/tokens/request=gettoken&amp;amp;username=USER&amp;amp;password=PSW&amp;amp;clientid=ref.http://www.referrerdomain.com&amp;amp;expiration=1&amp;amp;f=json"&gt;https://anygisdomain.com/arcgis/tokens/request=gettoken&amp;amp;username=USER&amp;amp;password=PSW&amp;amp;clientid=ref.http://www.anyreferrerdomain.com&amp;amp;expiration=1&amp;amp;f=json&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or in short (from ESRI help:&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 12.8px;"&gt;If client and expiration parameters are not included, a short lived token will be generated and expiration will use the short-lived token time-out setting) see the link&amp;nbsp;&lt;A class="link-titled" href="http://help.arcgis.com/EN/arcgisdesktop/10.0/help/index.html#//00040000002w000000" title="http://help.arcgis.com/EN/arcgisdesktop/10.0/help/index.html#//00040000002w000000"&gt;ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://gisdomain.com/arcgis/tokens/request=gettoken&amp;amp;username=USER&amp;amp;password=PSW&amp;amp;clientid=ref.http://www.referrerdomain.com&amp;amp;expiration=1&amp;amp;f=json" style="color: #2989c5; text-decoration: underline;" title="https://gisdomain.com/arcgis/tokens/request=gettoken&amp;amp;username=USER&amp;amp;password=PSW&amp;amp;clientid=ref.http://www.referrerdomain.com&amp;amp;expiration=1&amp;amp;f=json"&gt;https://anygisdomain.com/arcgis/tokens/request=gettoken&amp;amp;username=USER&amp;amp;password=PSW&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It returns (test in Chrome) &amp;nbsp;- "Server Error in '/arcgis' Application."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could be done?&lt;/P&gt;&lt;P&gt;What we doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All help will be greatly appreciated.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 03:06:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/should-it-work-get-token-for-arcgis-server/m-p/644246#M60095</guid>
      <dc:creator>PitersonPaulgek</dc:creator>
      <dc:date>2016-12-08T03:06:28Z</dc:date>
    </item>
  </channel>
</rss>

