<?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 Access token keeps getting revoked in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-token-keeps-getting-revoked/m-p/735457#M32476</link>
    <description>&lt;P&gt;I created a Google Apps script that integrates with Dropbox via the various endpoints for orders.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have generated an access token and my scripts work fine.&amp;nbsp; After about an hour or two, they become invalid and I have to create another.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've not experienced this before with other API integrations.&amp;nbsp; &amp;nbsp;Any insight into why this keeps happening?&lt;/P&gt;</description>
    <pubDate>Thu, 07 Dec 2023 21:28:16 GMT</pubDate>
    <dc:creator>dsabot</dc:creator>
    <dc:date>2023-12-07T21:28:16Z</dc:date>
    <item>
      <title>Access token keeps getting revoked</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-token-keeps-getting-revoked/m-p/735457#M32476</link>
      <description>&lt;P&gt;I created a Google Apps script that integrates with Dropbox via the various endpoints for orders.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have generated an access token and my scripts work fine.&amp;nbsp; After about an hour or two, they become invalid and I have to create another.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've not experienced this before with other API integrations.&amp;nbsp; &amp;nbsp;Any insight into why this keeps happening?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 21:28:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-token-keeps-getting-revoked/m-p/735457#M32476</guid>
      <dc:creator>dsabot</dc:creator>
      <dc:date>2023-12-07T21:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Access token keeps getting revoked</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-token-keeps-getting-revoked/m-p/735461#M32477</link>
      <description>&lt;P&gt;Dropbox now returns "short-lived" access tokens, which automatically expire after a few hours.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dropbox is no longer offering the option for creating new long-lived access tokens. Dropbox is now 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. 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;</description>
      <pubDate>Thu, 07 Dec 2023 21:33:22 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-token-keeps-getting-revoked/m-p/735461#M32477</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-12-07T21:33:22Z</dc:date>
    </item>
  </channel>
</rss>

