<?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 The duration of the access token in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/The-duration-of-the-access-token/m-p/631168#M29148</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I use pure javascript call api &lt;A href="https://content.dropboxapi.com/2/files/upload" target="_blank"&gt;https://content.dropboxapi.com/2/files/upload&lt;/A&gt; and succeeded.&lt;/P&gt;&lt;P&gt;But I'm having problems with the expiration of the access token.&lt;/P&gt;&lt;P&gt;I want to ask is there a way to get the access token automatically?&lt;/P&gt;&lt;P&gt;Or is it possible to set the access token time adjustment?&lt;/P&gt;&lt;P&gt;I am looking forward to hearing from you.&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
    <pubDate>Mon, 24 Oct 2022 03:05:41 GMT</pubDate>
    <dc:creator>ThaiNguyen</dc:creator>
    <dc:date>2022-10-24T03:05:41Z</dc:date>
    <item>
      <title>The duration of the access token</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/The-duration-of-the-access-token/m-p/631168#M29148</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I use pure javascript call api &lt;A href="https://content.dropboxapi.com/2/files/upload" target="_blank"&gt;https://content.dropboxapi.com/2/files/upload&lt;/A&gt; and succeeded.&lt;/P&gt;&lt;P&gt;But I'm having problems with the expiration of the access token.&lt;/P&gt;&lt;P&gt;I want to ask is there a way to get the access token automatically?&lt;/P&gt;&lt;P&gt;Or is it possible to set the access token time adjustment?&lt;/P&gt;&lt;P&gt;I am looking forward to hearing from you.&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 03:05:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/The-duration-of-the-access-token/m-p/631168#M29148</guid>
      <dc:creator>ThaiNguyen</dc:creator>
      <dc:date>2022-10-24T03:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: The duration of the access token</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/The-duration-of-the-access-token/m-p/631175#M29149</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1583048"&gt;@ThaiNguyen&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You need to "refresh" the access token using refresh token. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt; Take a look &lt;A href="https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-in-generating-access-token/m-p/592667" target="_blank" rel="noopener"&gt;here&lt;/A&gt; for additional info.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 05:09:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/The-duration-of-the-access-token/m-p/631175#M29149</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-10-24T05:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: The duration of the access token</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/The-duration-of-the-access-token/m-p/631348#M29158</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1583048"&gt;@ThaiNguyen&lt;/a&gt;&amp;nbsp;Здравко is correct, if you need access for a long period of time without the user present, you should request and use refresh tokens. For reference, Dropbox is no longer offering the option for creating new long-lived access tokens. Dropbox is switching to only issuing short-lived access tokens (and optional refresh tokens) instead of long-lived access tokens. You can find &lt;A href="https://dropbox.tech/developers/migrating-app-permissions-and-access-tokens#updating-access-token-type" target="_blank" rel="noopener noreferrer"&gt;more information on this migration here&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;Apps can still get long-term access by requesting "offline" access though, in which case the app receives a "refresh token" that can be used to retrieve new short-lived access tokens as needed, without further manual user intervention. You can find more information in the &lt;A href="https://developers.dropbox.com/oauth-guide" target="_blank" rel="noopener noreferrer"&gt;OAuth Guide&lt;/A&gt; and &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#authorization" target="_blank" rel="noopener noreferrer"&gt;authorization documentation&lt;/A&gt;. There's a basic outline of processing this flow in &lt;A href="https://dropbox.tech/developers/using-oauth-2-0-with-offline-access" target="_blank" rel="noopener noreferrer"&gt;this blog post&lt;/A&gt; which may serve as a useful example.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 16:14:28 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/The-duration-of-the-access-token/m-p/631348#M29158</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-10-24T16:14:28Z</dc:date>
    </item>
  </channel>
</rss>

