<?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 Dropbox API OAuth 2.0 Access Token in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-OAuth-2-0-Access-Token/m-p/724522#M32009</link>
    <description>&lt;P&gt;We are currently working on a website (&lt;A href="https://ppbranding.com.au/contact" target="_new"&gt;https://ppbranding.com.au/contact&lt;/A&gt;) that includes a contact form with a multiple-file upload option. When a user submits this form, we aim to generate a folder in our Dropbox account. This folder will be named after the user's input in the 'Name' field of the contact form, followed by the corresponding date (e.g., John-Smith-26-10-2023). Within this folder, all the uploaded documents will be stored.&lt;/P&gt;&lt;P&gt;To achieve this, we are utilizing the Dropbox OAuth 2.0 API. Initially, we were providing an Access Token manually generated from the App Console. However, this token's validity is limited to approximately 4 hours. To make this process dynamic and more user-friendly, we now require users to authenticate themselves by logging into their Dropbox accounts. If you visit the link mentioned above, you will see a popup window for Dropbox login.&lt;/P&gt;&lt;P&gt;We have reviewed the Dropbox API documentation, but we haven't found othe convenient solution that would allow us to generate the access token programmatically behind the scenes without requiring our users to log in or sign up for Dropbox accounts. It's important to note that, in our current setup, having a Dropbox account is mandatory for users to submit the form with uploaded documents. However, since all the data is ultimately stored in our Dropbox account, we are exploring any potential alternatives that would enable us to store user documents in our Dropbox using the API without mandating Dropbox login or signup for our users.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help in this regard will be highly appreciable.&lt;/P&gt;</description>
    <pubDate>Thu, 26 Oct 2023 09:48:55 GMT</pubDate>
    <dc:creator>cmpl2022</dc:creator>
    <dc:date>2023-10-26T09:48:55Z</dc:date>
    <item>
      <title>Dropbox API OAuth 2.0 Access Token</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-OAuth-2-0-Access-Token/m-p/724522#M32009</link>
      <description>&lt;P&gt;We are currently working on a website (&lt;A href="https://ppbranding.com.au/contact" target="_new"&gt;https://ppbranding.com.au/contact&lt;/A&gt;) that includes a contact form with a multiple-file upload option. When a user submits this form, we aim to generate a folder in our Dropbox account. This folder will be named after the user's input in the 'Name' field of the contact form, followed by the corresponding date (e.g., John-Smith-26-10-2023). Within this folder, all the uploaded documents will be stored.&lt;/P&gt;&lt;P&gt;To achieve this, we are utilizing the Dropbox OAuth 2.0 API. Initially, we were providing an Access Token manually generated from the App Console. However, this token's validity is limited to approximately 4 hours. To make this process dynamic and more user-friendly, we now require users to authenticate themselves by logging into their Dropbox accounts. If you visit the link mentioned above, you will see a popup window for Dropbox login.&lt;/P&gt;&lt;P&gt;We have reviewed the Dropbox API documentation, but we haven't found othe convenient solution that would allow us to generate the access token programmatically behind the scenes without requiring our users to log in or sign up for Dropbox accounts. It's important to note that, in our current setup, having a Dropbox account is mandatory for users to submit the form with uploaded documents. However, since all the data is ultimately stored in our Dropbox account, we are exploring any potential alternatives that would enable us to store user documents in our Dropbox using the API without mandating Dropbox login or signup for our users.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help in this regard will be highly appreciable.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 09:48:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-OAuth-2-0-Access-Token/m-p/724522#M32009</guid>
      <dc:creator>cmpl2022</dc:creator>
      <dc:date>2023-10-26T09:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API OAuth 2.0 Access Token</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-OAuth-2-0-Access-Token/m-p/724557#M32010</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1760652"&gt;@cmpl2022&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Yes, Dropbox access tokens are short lived and expire in few hours (typically 4 or so). Doesn't matter how they are received! The way to achieve long term access is usage of refresh token (offline access). In such a way you can "refresh" (create new access token programmatically, without further user interaction) whenever needed and go further in your algorithm. If you use some of the SDKs, it's implemented there already - you need just to initialize the Dropbox client object in a proper way and use it... as usual. If you drive your API calls directly, take a look &lt;A href="https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-in-generating-access-token/m-p/592667" target="_blank" rel="noopener"&gt;here&lt;/A&gt; for details how it can be performed. Just don't forget to implement in your algorithm a check before each regular call if current access token is going to expire (before use it) and if so, to refresh it and use after that. You will need to store refresh token and expiration moment of the current access token in addition (to be able check if it's going to expire). &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; That's it.&lt;/P&gt;&lt;P&gt;In such a way you don't need your users to drive their own account etc. and all could be done in your account only.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 11:57:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-OAuth-2-0-Access-Token/m-p/724557#M32010</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-10-26T11:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API OAuth 2.0 Access Token</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-OAuth-2-0-Access-Token/m-p/724699#M32021</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1760652"&gt;@cmpl2022&lt;/a&gt;&amp;nbsp;Здравко is correct; you should use refresh tokens for long-term access, whether for your own account or for other users. You can find more information at the following links:&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>Thu, 26 Oct 2023 17:08:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-OAuth-2-0-Access-Token/m-p/724699#M32021</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-10-26T17:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API OAuth 2.0 Access Token</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-OAuth-2-0-Access-Token/m-p/725700#M32062</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you for your suggestion. I have tried this and it has worked. This is very helpful for me.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 09:50:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-OAuth-2-0-Access-Token/m-p/725700#M32062</guid>
      <dc:creator>cmpl2022</dc:creator>
      <dc:date>2023-10-31T09:50:00Z</dc:date>
    </item>
  </channel>
</rss>

