<?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 AGOL Token Expiration in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/agol-token-expiration/m-p/757874#M70051</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am developing Javascript applications using secured services from ArcGIS Online. I access these services through token based authentication from which the token is obtained through the following site: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://www.arcgis.com/sharing/gener...tion=15&amp;amp;f=json" rel="nofollow" target="_blank"&gt;https://www.arcgis.com/sharing/gener...tion=15&amp;amp;f=json&lt;/A&gt;&lt;SPAN&gt;. I am wondering if it is possible to extend the expiration length of the tokens. I have tried by changing the "expiration=" in the URL to the maximum allowed. Right now, they seem to expire after ten days or so. I would like for them to atleast be valid for a year, if not permanent. Is there another method of obtaining a long lengthed token for AGOL secured services?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Feb 2014 12:17:46 GMT</pubDate>
    <dc:creator>WesleyAskew</dc:creator>
    <dc:date>2014-02-07T12:17:46Z</dc:date>
    <item>
      <title>AGOL Token Expiration</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/agol-token-expiration/m-p/757874#M70051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am developing Javascript applications using secured services from ArcGIS Online. I access these services through token based authentication from which the token is obtained through the following site: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://www.arcgis.com/sharing/gener...tion=15&amp;amp;f=json" rel="nofollow" target="_blank"&gt;https://www.arcgis.com/sharing/gener...tion=15&amp;amp;f=json&lt;/A&gt;&lt;SPAN&gt;. I am wondering if it is possible to extend the expiration length of the tokens. I have tried by changing the "expiration=" in the URL to the maximum allowed. Right now, they seem to expire after ten days or so. I would like for them to atleast be valid for a year, if not permanent. Is there another method of obtaining a long lengthed token for AGOL secured services?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 12:17:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/agol-token-expiration/m-p/757874#M70051</guid>
      <dc:creator>WesleyAskew</dc:creator>
      <dc:date>2014-02-07T12:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: AGOL Token Expiration</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/agol-token-expiration/m-p/757875#M70052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi Wesley.&amp;nbsp; the maxium duration &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Generate_Token/02r3000000m5000000/" rel="nofollow" target="_blank"&gt;token&lt;/A&gt;&lt;SPAN&gt; for ArcGIS Online is 15 days.&amp;nbsp; we are currently working on releasing a few proxy pages which will simplify the workflow of storing either a username/password or appId/appSecret to generate short-term tokens on the fly if you are interested in having an application authenticate on behalf of end users.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 14:47:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/agol-token-expiration/m-p/757875#M70052</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2014-02-10T14:47:24Z</dc:date>
    </item>
  </channel>
</rss>

