<?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: Refresh Tokens vs OAuth Flow in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Refresh-Tokens-vs-OAuth-Flow/m-p/611496#M2801</link>
    <description>&lt;P&gt;Thank you for the link. I will go through it. Hope it has a solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yeah, I probably mistyped what I meant. I am not from a tech background, but thanks to the no-code movement and helpful people on support forums such as these, we can also make apps for ourselves&lt;/P&gt;</description>
    <pubDate>Sat, 23 Jul 2022 12:58:17 GMT</pubDate>
    <dc:creator>karanag</dc:creator>
    <dc:date>2022-07-23T12:58:17Z</dc:date>
    <item>
      <title>Refresh Tokens vs OAuth Flow</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Refresh-Tokens-vs-OAuth-Flow/m-p/611492#M2799</link>
      <description>&lt;P&gt;I have a business dropbox account and we are trying to build an app using the no-code tool Appgyver which will allow our internal users (&amp;lt;10 users) to store images and files on our company dropbox account.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The no-code tool Appgyver does not support redirectUri so currently, our user has to copy the authorization code and paste it in the app to get the access token.&amp;nbsp; Doing this once is not a problem, but we can't expect users to do it whenever they need to access dropbox. Is there any way we can increase the validity of the token?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As far as my understanding goes (I am a noob), user will have to have the authorization code to get the refresh token means we either store it locally in the user's device or generate it each time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What would be the best way to deal with it?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 21:20:14 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Refresh-Tokens-vs-OAuth-Flow/m-p/611492#M2799</guid>
      <dc:creator>karanag</dc:creator>
      <dc:date>2022-07-25T21:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Tokens vs OAuth Flow</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Refresh-Tokens-vs-OAuth-Flow/m-p/611495#M2800</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1556562"&gt;@karanag&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;At the beginning refresh token is a possible result of OAuth flow, so 'Refresh Tokens vs OAuth Flow' is somewhat meaningless. 🤷 You can't get to long term access without neither of OAuth flow nor refresh token.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1556562"&gt;@karanag&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;... Is there any way we can increase the validity of the token?&amp;nbsp;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Probably you mean access token, needed to call to all regular API calls. Its validity is limited in time and usually can't exceed more than 4 hours - exact validity period is pointed every single time you get such a token. To prolong access validity you need a refresh token and have to include refresh process into your application logic. A simple example of such refresh logic can be seen &lt;A href="https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-in-generating-access-token/m-p/592921/highlight/true#M27586" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&amp;nbsp;&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; Realize the same calls using your platform capabilities.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jul 2022 12:54:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Refresh-Tokens-vs-OAuth-Flow/m-p/611495#M2800</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-07-23T12:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Tokens vs OAuth Flow</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Refresh-Tokens-vs-OAuth-Flow/m-p/611496#M2801</link>
      <description>&lt;P&gt;Thank you for the link. I will go through it. Hope it has a solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yeah, I probably mistyped what I meant. I am not from a tech background, but thanks to the no-code movement and helpful people on support forums such as these, we can also make apps for ourselves&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jul 2022 12:58:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Refresh-Tokens-vs-OAuth-Flow/m-p/611496#M2801</guid>
      <dc:creator>karanag</dc:creator>
      <dc:date>2022-07-23T12:58:17Z</dc:date>
    </item>
  </channel>
</rss>

