<?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: How to get Access Token for background process without any user integractions? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-Access-Token-for-background-process-without-any-user/m-p/547896#M26091</link>
    <description>&lt;P&gt;Hi Greg/Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your response you mentioned that we can use refresh token to get short lived access tokens without further manual interaction. How long can we keep using the refresh token. Is there a time limit on when Refresh token also expires?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;"With the new system of short-lived access tokens and optional refresh tokens, in order to maintain long-term access without further manual user interaction, the app would need to request "offline" access, to get and store a refresh token, in addition to the short-lived access token"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Sep 2021 21:33:44 GMT</pubDate>
    <dc:creator>DuraUser</dc:creator>
    <dc:date>2021-09-29T21:33:44Z</dc:date>
    <item>
      <title>How to get Access Token for background process without any user integractions?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-Access-Token-for-background-process-without-any-user/m-p/514383#M25244</link>
      <description>&lt;P&gt;Hi Team,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;We are doing dropbox integration to upload files from salesforce to dropbox. To do this we are doing background processing and to get access token we always use "&lt;SPAN&gt;Long-lived" from the "&lt;STRONG&gt;G&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;enerated access token"&amp;nbsp;&lt;/STRONG&gt;section that appears under the app "Settings" tab of the Dropbox app.&lt;/P&gt;
&lt;P&gt;Now as per the "&lt;STRONG&gt;&lt;SPAN&gt;Action required: tokens and permissions"&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;notification we would like to know the other way that how we can get &lt;STRONG&gt;access token&lt;/STRONG&gt; without user interaction to upload file in the background?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 08:29:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-Access-Token-for-background-process-without-any-user/m-p/514383#M25244</guid>
      <dc:creator>devid13</dc:creator>
      <dc:date>2021-04-19T08:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Access Token for background process without any user integractions?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-Access-Token-for-background-process-without-any-user/m-p/514472#M25246</link>
      <description>&lt;P&gt;Getting an access token always requires some sort of user interaction initially, either via the "Generate" button on the app's page on the App Console (when just getting an access token for the app owner's account), or via the OAuth app authorization flow (which can be used for any arbitrary user, not just the app owner).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In either case, once the access token is retrieved, the app can store and re-use it without further manual user interaction.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Long-lived access tokens don't expire, so they can be stored and re-used indefinitely (unless/until revoked). Short-lived access tokens expire after four hours though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With the new system of short-lived access tokens and optional refresh tokens, in order to maintain long-term access without further manual user interaction, the app would need to request "offline" access, to get and store a refresh token, in addition to the short-lived access token. A refresh token allows the app to retrieve new short-lived access tokens on demand, whenever needed, without further manual user interaction. The "Generate" button does not currently offer the ability to retrieve refresh tokens, so you'd need to use and implement the OAuth flow in order to get that. You can find information on how that works in &lt;A href="https://developers.dropbox.com/oauth-guide" target="_self"&gt;the OAuth Guide&lt;/A&gt; and &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#authorization" target="_self"&gt;authorization documentation&lt;/A&gt;. &lt;A href="https://dropbox.tech/developers/migrating-app-permissions-and-access-tokens" target="_self"&gt;This blog post&lt;/A&gt; may also be helpful if you haven't already seen it.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 15:05:40 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-Access-Token-for-background-process-without-any-user/m-p/514472#M25246</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-04-19T15:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Access Token for background process without any user integractions?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-Access-Token-for-background-process-without-any-user/m-p/547896#M26091</link>
      <description>&lt;P&gt;Hi Greg/Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your response you mentioned that we can use refresh token to get short lived access tokens without further manual interaction. How long can we keep using the refresh token. Is there a time limit on when Refresh token also expires?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;"With the new system of short-lived access tokens and optional refresh tokens, in order to maintain long-term access without further manual user interaction, the app would need to request "offline" access, to get and store a refresh token, in addition to the short-lived access token"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Sep 2021 21:33:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-Access-Token-for-background-process-without-any-user/m-p/547896#M26091</guid>
      <dc:creator>DuraUser</dc:creator>
      <dc:date>2021-09-29T21:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Access Token for background process without any user integractions?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-Access-Token-for-background-process-without-any-user/m-p/548052#M26096</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1478418"&gt;@DuraUser&lt;/a&gt; Dropbox refresh tokens don't expire automatically, but they can be revoked by the app or user on demand.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 14:52:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-Access-Token-for-background-process-without-any-user/m-p/548052#M26096</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-09-30T14:52:11Z</dc:date>
    </item>
  </channel>
</rss>

