<?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: Cannot refresh short-lived access tokens, node.js in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-refresh-short-lived-access-tokens-node-js/m-p/747720#M32850</link>
    <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1798483"&gt;@dbmt&lt;/a&gt; As Здравко indicated, you would need a refresh token to maintain long-term unattended access.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dropbox issues short-lived access tokens, which expire after a few hours, and optional refresh tokens, which don't expire. Apps can get long-term access by requesting "offline" access, 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. Refresh tokens do not expire automatically and can be used repeatedly. 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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The &lt;A href="https://www.dropbox.com/developers/documentation#sdks" target="_blank"&gt;official Dropbox SDKs&lt;/A&gt; can also handle the refresh process for you automatically. If you're using one of the official Dropbox SDKs, refer to its corresponding documentation and examples for information on how to use it.&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jan 2024 15:09:30 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2024-01-29T15:09:30Z</dc:date>
    <item>
      <title>Cannot refresh short-lived access tokens, node.js</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-refresh-short-lived-access-tokens-node-js/m-p/747528#M32841</link>
      <description>&lt;P&gt;I have a web-app that processes images and uploads them to a single dropbox folder (My account). I have an App for my web app in dropbox and I am successfully able to upload images to said folder.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The access tokens to the folder expire every four hours, and I am having trouble understanding the OAuth options that will work in my case. It would seem that most options to acquire a new access token requires user input which should not be required if I all I am doing is uploading images.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried&amp;nbsp; using oauth2/token but this requires an authorization code that is limited to one use and will not work in my case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I simply need an access token to my dropbox account that I can refresh whenever the old token has expired. Any direction would be helpful as I am lost.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jan 2024 14:41:15 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-refresh-short-lived-access-tokens-node-js/m-p/747528#M32841</guid>
      <dc:creator>dbmt</dc:creator>
      <dc:date>2024-01-28T14:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot refresh short-lived access tokens, node.js</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-refresh-short-lived-access-tokens-node-js/m-p/747565#M32842</link>
      <description>&lt;P&gt;Anyone?&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jan 2024 18:35:10 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-refresh-short-lived-access-tokens-node-js/m-p/747565#M32842</guid>
      <dc:creator>dbmt</dc:creator>
      <dc:date>2024-01-28T18:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot refresh short-lived access tokens, node.js</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-refresh-short-lived-access-tokens-node-js/m-p/747575#M32843</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1798483"&gt;@dbmt&lt;/a&gt;,&lt;/P&gt;&lt;P&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; if you want to know how exactly refreshing works. You'll need only the refresh token there though. Initialization of SDK in correct way would be enough.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jan 2024 20:48:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-refresh-short-lived-access-tokens-node-js/m-p/747575#M32843</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2024-01-28T20:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot refresh short-lived access tokens, node.js</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-refresh-short-lived-access-tokens-node-js/m-p/747720#M32850</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1798483"&gt;@dbmt&lt;/a&gt; As Здравко indicated, you would need a refresh token to maintain long-term unattended access.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dropbox issues short-lived access tokens, which expire after a few hours, and optional refresh tokens, which don't expire. Apps can get long-term access by requesting "offline" access, 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. Refresh tokens do not expire automatically and can be used repeatedly. 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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The &lt;A href="https://www.dropbox.com/developers/documentation#sdks" target="_blank"&gt;official Dropbox SDKs&lt;/A&gt; can also handle the refresh process for you automatically. If you're using one of the official Dropbox SDKs, refer to its corresponding documentation and examples for information on how to use it.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 15:09:30 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-refresh-short-lived-access-tokens-node-js/m-p/747720#M32850</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-01-29T15:09:30Z</dc:date>
    </item>
  </channel>
</rss>

