<?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 How to handle OAuth2 keys if they only last four hours in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-handle-OAuth2-keys-if-they-only-last-four-hours/m-p/487504#M24465</link>
    <description>&lt;P&gt;Hey guys,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I developed a Dropbox app using Dropbox developers that is supposed to be used to upgrade a TI MCU over the air. I noticed that there is a note that the "no expiration" option for the OAuth2 key that says that it is going to be deprecated. The only other option looks like the tokens expire every four hours. How are we supposed to run OTA updates on firmware if the token is expiring every four hours? The token is stored in firmware on the MCU side, so would we have to update firmware every four hours to generate new tokens? That doesn't seem very realistic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!!&lt;BR /&gt;Charles&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jan 2021 20:11:38 GMT</pubDate>
    <dc:creator>charlesfish</dc:creator>
    <dc:date>2021-01-15T20:11:38Z</dc:date>
    <item>
      <title>How to handle OAuth2 keys if they only last four hours</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-handle-OAuth2-keys-if-they-only-last-four-hours/m-p/487504#M24465</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I developed a Dropbox app using Dropbox developers that is supposed to be used to upgrade a TI MCU over the air. I noticed that there is a note that the "no expiration" option for the OAuth2 key that says that it is going to be deprecated. The only other option looks like the tokens expire every four hours. How are we supposed to run OTA updates on firmware if the token is expiring every four hours? The token is stored in firmware on the MCU side, so would we have to update firmware every four hours to generate new tokens? That doesn't seem very realistic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!!&lt;BR /&gt;Charles&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 20:11:38 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-handle-OAuth2-keys-if-they-only-last-four-hours/m-p/487504#M24465</guid>
      <dc:creator>charlesfish</dc:creator>
      <dc:date>2021-01-15T20:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle OAuth2 keys if they only last four hours</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-handle-OAuth2-keys-if-they-only-last-four-hours/m-p/487512#M24466</link>
      <description>&lt;P&gt;If the app needs long-term access (i.e., longer than four hours) without manual user interaction, it should request "offline" access during the OAuth app authorization flow. In that case, it will receive&amp;nbsp;a "refresh token" that it can use to programmatically get a new short-lived access token at any point in time, without further manual user interaction.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can find more information in the following resources:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://www.dropbox.com/lp/developers/reference/oauth-guide" target="_self"&gt;https://www.dropbox.com/lp/developers/reference/oauth-guide&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#authorization" target="_self"&gt;https://www.dropbox.com/developers/documentation/http/documentation#authorization&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://dropbox.tech/developers/migrating-app-permissions-and-access-tokens" target="_self"&gt;https://dropbox.tech/developers/migrating-app-permissions-and-access-tokens&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 15 Jan 2021 20:29:46 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-handle-OAuth2-keys-if-they-only-last-four-hours/m-p/487512#M24466</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-01-15T20:29:46Z</dc:date>
    </item>
  </channel>
</rss>

