<?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: Is there any way to refresh or get new access token without any URI in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-there-any-way-to-refresh-or-get-new-access-token-without-any/m-p/769264#M33623</link>
    <description>&lt;P&gt;Здравко is correct; for long-term/unattended access, you should use the refresh token functionality. Refer to the following resources for more information:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://developers.dropbox.com/oauth-guide" target="_blank"&gt;https://developers.dropbox.com/oauth-guide&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#authorization" target="_blank"&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/using-oauth-2-0-with-offline-access" target="_blank"&gt;https://dropbox.tech/developers/using-oauth-2-0-with-offline-access&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Wed, 08 May 2024 14:58:47 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2024-05-08T14:58:47Z</dc:date>
    <item>
      <title>Is there any way to refresh or get new access token without any URI</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-there-any-way-to-refresh-or-get-new-access-token-without-any/m-p/769197#M33619</link>
      <description>&lt;P&gt;I am building a music web application, in which audio files are getting&amp;nbsp;retrieved from &lt;STRONG&gt;DropBox.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But due to expiration of access token after some time, I have again and again enter new access token inside the code, due to which I won't be able to deploy my app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried URI method to get new &lt;STRONG&gt;access_token,&amp;nbsp;&lt;/STRONG&gt;but i want to make it automatic with URL method i.e not asking for permission for allow/deny on an interface.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suggest me some alternatives&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 09:57:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-there-any-way-to-refresh-or-get-new-access-token-without-any/m-p/769197#M33619</guid>
      <dc:creator>shivam_dev</dc:creator>
      <dc:date>2024-05-08T09:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to refresh or get new access token without any URI</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-there-any-way-to-refresh-or-get-new-access-token-without-any/m-p/769216#M33620</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1834857"&gt;@shivam_dev&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;But due to expiration of access token after some time, I have again and again enter new access token inside the code, due to which I won't be able to deploy my app.&lt;/P&gt;&lt;P&gt;... i.e not asking for permission for allow/deny on an interface.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1834857"&gt;@shivam_dev&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Did you try usage of refresh token? 🧐 It doesn't expire and you may get new access token using refresh token whenever previous one expire and you need new valid one without further user interaction (on background) - exactly what you asked for. &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;&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/592921/highlight/true#M27586" target="_blank" rel="noopener"&gt;here&lt;/A&gt; for possible workflow. You have to perform by hand (including interaction and giving access permission) the first part once and since then the last (refresh) part repeatedly further fully automatic whenever needed. If you use some of the official Dropbox SDKs, the last part is implemented there and the only thing you need is proper client object initialization and then use the same way as you're using now. When you have your own API code (without SDK) you have to implement that refresh step there youself.&lt;/P&gt;&lt;P&gt;Hope this gives direction.&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 11:53:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-there-any-way-to-refresh-or-get-new-access-token-without-any/m-p/769216#M33620</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2024-05-08T11:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to refresh or get new access token without any URI</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-there-any-way-to-refresh-or-get-new-access-token-without-any/m-p/769264#M33623</link>
      <description>&lt;P&gt;Здравко is correct; for long-term/unattended access, you should use the refresh token functionality. Refer to the following resources for more information:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://developers.dropbox.com/oauth-guide" target="_blank"&gt;https://developers.dropbox.com/oauth-guide&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#authorization" target="_blank"&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/using-oauth-2-0-with-offline-access" target="_blank"&gt;https://dropbox.tech/developers/using-oauth-2-0-with-offline-access&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 08 May 2024 14:58:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-there-any-way-to-refresh-or-get-new-access-token-without-any/m-p/769264#M33623</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-05-08T14:58:47Z</dc:date>
    </item>
  </channel>
</rss>

