<?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: Dropbox APP Authorization Token Expires in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-APP-Authorization-Token-Expires/m-p/730993#M32316</link>
    <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1748177"&gt;@ABDUL Salam&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Long lived access token are deprecated long time ago already. Currently, generation of new such token is completely dropped - all new access token are short lived (If you have still some old you can kepp using it, not new).&lt;/P&gt;&lt;P&gt;For long term access and new token, you need refresh token received using OAuth flow with set offline access. May be you will want to implement refreshing in your PHP to use it continuously.&lt;/P&gt;&lt;P&gt;Hope this gives direction.&lt;/P&gt;</description>
    <pubDate>Mon, 20 Nov 2023 06:30:09 GMT</pubDate>
    <dc:creator>Здравко</dc:creator>
    <dc:date>2023-11-20T06:30:09Z</dc:date>
    <item>
      <title>Dropbox APP Authorization Token Expires</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-APP-Authorization-Token-Expires/m-p/730977#M32315</link>
      <description>&lt;P&gt;Hello Forum Members,&lt;/P&gt;&lt;P&gt;I have a project where I receive public URLs of files, and I save these files to a specific folder structure in Dropbox In my Dropbox account only. I'm using&amp;nbsp;&lt;A href="http:/2/files/save_url" target="_blank" rel="noopener"&gt;https://www.dropbox.com/developers/documentation/http/documentation#files-save_url&lt;/A&gt; to achieve this using the Dropbox API. Currently, I am able to pass a URL to the API, and it saves/downloads the file and places it in the correct folder structure within Dropbox. But the issue is that my authorization token&lt;BR /&gt;"Authorization: Bearer &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;lt;My Token HERE&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;"&lt;BR /&gt;that we need to pass in the request header expires after some time. I have generated it from the below section in app settings after creating my app&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ABDULSalam_0-1700444419045.png" style="width: 400px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/42210i20E3FBDEA783F66E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ABDULSalam_0-1700444419045.png" alt="ABDULSalam_0-1700444419045.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Note: I am developing in PHP - LARAVEL Framework. I need this to be achieved for my Dropbox account only.&lt;/P&gt;&lt;P&gt;Any help or insights would be greatly appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for your assistance!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 01:47:38 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-APP-Authorization-Token-Expires/m-p/730977#M32315</guid>
      <dc:creator>ABDUL Salam</dc:creator>
      <dc:date>2023-11-20T01:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox APP Authorization Token Expires</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-APP-Authorization-Token-Expires/m-p/730993#M32316</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1748177"&gt;@ABDUL Salam&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Long lived access token are deprecated long time ago already. Currently, generation of new such token is completely dropped - all new access token are short lived (If you have still some old you can kepp using it, not new).&lt;/P&gt;&lt;P&gt;For long term access and new token, you need refresh token received using OAuth flow with set offline access. May be you will want to implement refreshing in your PHP to use it continuously.&lt;/P&gt;&lt;P&gt;Hope this gives direction.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 06:30:09 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-APP-Authorization-Token-Expires/m-p/730993#M32316</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-11-20T06:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox APP Authorization Token Expires</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-APP-Authorization-Token-Expires/m-p/730997#M32318</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/422790"&gt;@Здравко&lt;/a&gt;&amp;nbsp;Thanks for responding to the query but I have a question should I be implementing OAuth flow for an app that needs to access my account only? As far as I am concerned or maybe I am wrong OAuth flow is implemented when my app needs to access multiple user accounts.&lt;BR /&gt;Thanks.&lt;/P&gt;&lt;DIV class=""&gt;&lt;A href="https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-APP-Authorization-Token-Expires/m-p/730993#" target="_blank" rel="noopener"&gt;PREVIEW&lt;/A&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 20 Nov 2023 06:44:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-APP-Authorization-Token-Expires/m-p/730997#M32318</guid>
      <dc:creator>ABDUL Salam</dc:creator>
      <dc:date>2023-11-20T06:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox APP Authorization Token Expires</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-APP-Authorization-Token-Expires/m-p/731019#M32321</link>
      <description>&lt;P&gt;OAuth flow is a way to authenticate user (one or more) grant for particular application to access corresponding account(s). There is no any limitation in users count (if we ignore some possible provider specific limitations, but it's not protocol related). As I said for long term access, you need refresh token and the only way to get to such token is OAuth usage - Dropbox doesn't provide alternative by now - doesn't matter who is the user or how many are they.&lt;/P&gt;&lt;P&gt;When you will use only your own account, you don't need to implement the complete OAuth flow inside your application, but you need refresh part at least - it's mandatory. The actual authentication (the initial steps) can be performed once, by hands, outside the application and once you have the refresh token continue using it inside the application. For an example how you can perform the initial steps outside application and how you can perform refresh inside the application (you should implement the last step in PHP), 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;.&lt;/P&gt;&lt;P&gt;Hope this sheds some more light.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 09:53:09 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-APP-Authorization-Token-Expires/m-p/731019#M32321</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-11-20T09:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox APP Authorization Token Expires</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-APP-Authorization-Token-Expires/m-p/731968#M32349</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/422790"&gt;@Здравко&lt;/a&gt;&amp;nbsp;That makes sense. Appreciate your detailed explaination.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 07:24:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-APP-Authorization-Token-Expires/m-p/731968#M32349</guid>
      <dc:creator>ABDUL Salam</dc:creator>
      <dc:date>2023-11-23T07:24:24Z</dc:date>
    </item>
  </channel>
</rss>

