<?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: Need Permanant Access token for drop box in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Need-Permanant-Access-token-for-drop-box/m-p/585672#M2490</link>
    <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1526778"&gt;@nitish166&lt;/a&gt; It looks like you are not using the Dropbox API v2 JavaScript SDK. We highly recommend using an official SDK whenever possible, as it will do much of the work for you. For instance, you can find &lt;A href="https://github.com/dropbox/dropbox-sdk-js" target="_self"&gt;the Dropbox API v2 JavaScript SDK here&lt;/A&gt;, and &lt;A href="https://github.com/dropbox/dropbox-sdk-js/blob/b5631e4b5b0e9eb6d3297e1ee57ad29a63d49898/examples/javascript/PKCE-backend/code_flow_example.js" target="_blank" rel="noreferrer nofollow noopener"&gt;an example of using refresh tokens with the JavaScript SDK here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise, if you cannot use the SDK, you'll need to use the refresh token to programmatically retrieve new short-lived access tokens whenever needed. You can find more information on that in the &lt;A href="https://developers.dropbox.com/oauth-guide" target="_blank" rel="noopener noreferrer"&gt;OAuth Guide&lt;/A&gt; and &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#authorization" target="_blank" rel="noopener noreferrer"&gt;authorization documentation&lt;/A&gt;. For instance, refer to "Example: refresh token request" in &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#oauth2-token" target="_self"&gt;the /oauth2/token documentation&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Mar 2022 14:25:50 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2022-03-23T14:25:50Z</dc:date>
    <item>
      <title>Need Permanant Access token for drop box</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Need-Permanant-Access-token-for-drop-box/m-p/583956#M2480</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;Good day...!!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm Nitish Kumar from India. I'm a software engineer. Currently, I'm working on one of the projects using node js where I'm using dropbox API with the access token.&amp;nbsp; everything was working fine but after a while,&amp;nbsp;&lt;STRONG&gt;the access token is getting expired&lt;/STRONG&gt;. I need a way to get the permanent access token so, I do not require manual intervention every time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nitish166_0-1647433298873.png" style="width: 400px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/28171i319CAAAC46482175/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nitish166_0-1647433298873.png" alt="nitish166_0-1647433298873.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, the team can you please help me with the same?&amp;nbsp; thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Nitish Kumar&lt;/P&gt;
&lt;P&gt;&amp;lt;contact information redacted&amp;gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 16:56:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Need-Permanant-Access-token-for-drop-box/m-p/583956#M2480</guid>
      <dc:creator>nitish166</dc:creator>
      <dc:date>2022-03-17T16:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Need Permanant Access token for drop box</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Need-Permanant-Access-token-for-drop-box/m-p/584002#M2481</link>
      <description>&lt;P&gt;Dropbox is in the process of switching to only issuing short-lived access tokens (and optional refresh tokens) instead of long-lived access tokens. You can find &lt;A href="https://dropbox.tech/developers/migrating-app-permissions-and-access-tokens" target="_blank" rel="noopener noreferrer"&gt;more information on this migration here&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;Apps can still get long-term access by requesting "offline" access though, in which case the app receives a "refresh token" that can be used to retrieve new short-lived access tokens as needed, without further manual user intervention. You can find more information in the &lt;A href="https://developers.dropbox.com/oauth-guide" target="_blank" rel="noopener noreferrer"&gt;OAuth Guide&lt;/A&gt; and &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#authorization" target="_blank" rel="noopener noreferrer"&gt;authorization documentation&lt;/A&gt;. You can find &lt;A href="https://github.com/dropbox/dropbox-sdk-js/blob/b5631e4b5b0e9eb6d3297e1ee57ad29a63d49898/examples/javascript/PKCE-backend/code_flow_example.js" rel="noreferrer" target="_blank"&gt;an example of using refresh tokens with the JavaScript SDK here&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;For reference, while the creation of new long-lived access tokens is now deprecated, we don't currently have a plan to disable existing long-lived access tokens. (If that changes, we will of course announce that ahead of time.) That being the case, you can continue using existing long-lived access token(s) without interruption, if you have any. Also, note though that after the change you won't be able to create new long-lived access tokens.&lt;BR /&gt;&lt;BR /&gt;While the change began on September 30th 2021, we're releasing it gradually, so you may not have seen your app(s) affected until now. Once it applies to your app, it would apply regardless of the "Access token expiration" setting for your app, and that setting may no longer be available for your app.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 16:10:43 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Need-Permanant-Access-token-for-drop-box/m-p/584002#M2481</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-03-16T16:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need Permanant Access token for drop box</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Need-Permanant-Access-token-for-drop-box/m-p/585322#M2484</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Letting you know that the javascript code is working fine. also, able to generate the access token through the code. but still, we are facing the manual user intervention issue. whenever we are running the script and accessing through the localhost:3000 then, every time it is asking for user approval. below screenshot for the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nitish166_0-1647951552117.png" style="width: 400px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/28284i909F33BE8D8216C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nitish166_0-1647951552117.png" alt="nitish166_0-1647951552117.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, below screenshot for the access token.&amp;nbsp; as per the screenshot, the token will get expired in after 4 hours.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nitish166_1-1647951630025.png" style="width: 400px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/28285iCE49FA1978CE2942/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nitish166_1-1647951630025.png" alt="nitish166_1-1647951630025.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, team can you please help us to get the permanant access-token without user intervantion. thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank and regards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 12:24:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Need-Permanant-Access-token-for-drop-box/m-p/585322#M2484</guid>
      <dc:creator>nitish166</dc:creator>
      <dc:date>2022-03-22T12:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need Permanant Access token for drop box</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Need-Permanant-Access-token-for-drop-box/m-p/585327#M2485</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1526778"&gt;@nitish166&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;The refresh token seen on your dump doesn't expire. Do you use it or the access token only?! &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@9AD39CA637682E9616FBE31CDAF1B6C4/emoticons/1f914.png" alt=":thinking_face:" title=":thinking_face:" /&gt;&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;Hope this gives direction.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 12:47:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Need-Permanant-Access-token-for-drop-box/m-p/585327#M2485</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-03-22T12:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Need Permanant Access token for drop box</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Need-Permanant-Access-token-for-drop-box/m-p/585355#M2486</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1526778"&gt;@nitish166&lt;/a&gt;&amp;nbsp;Здравко is correct; refresh tokens don't expire by themselves, so you should store and re-use them, instead of starting the app authorization flow each time. &lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 13:47:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Need-Permanant-Access-token-for-drop-box/m-p/585355#M2486</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-03-22T13:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Need Permanant Access token for drop box</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Need-Permanant-Access-token-for-drop-box/m-p/585580#M2488</link>
      <description>&lt;P&gt;Thanks, &lt;A href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/422790" target="_self"&gt;&lt;SPAN class=""&gt;Здравко&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please be notified that I'm using access_token only for communicating dropbox API with my node js code. I'm not able to figure out where should use the refresh token in my code. please find the below code for the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nitish166_0-1648017863812.png" style="width: 400px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/28303i81938AFB89DF0E9C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nitish166_0-1648017863812.png" alt="nitish166_0-1648017863812.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, can you please help me for the same. it would be really appricated. thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Nitish Kumar&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 06:46:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Need-Permanant-Access-token-for-drop-box/m-p/585580#M2488</guid>
      <dc:creator>nitish166</dc:creator>
      <dc:date>2022-03-23T06:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need Permanant Access token for drop box</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Need-Permanant-Access-token-for-drop-box/m-p/585672#M2490</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1526778"&gt;@nitish166&lt;/a&gt; It looks like you are not using the Dropbox API v2 JavaScript SDK. We highly recommend using an official SDK whenever possible, as it will do much of the work for you. For instance, you can find &lt;A href="https://github.com/dropbox/dropbox-sdk-js" target="_self"&gt;the Dropbox API v2 JavaScript SDK here&lt;/A&gt;, and &lt;A href="https://github.com/dropbox/dropbox-sdk-js/blob/b5631e4b5b0e9eb6d3297e1ee57ad29a63d49898/examples/javascript/PKCE-backend/code_flow_example.js" target="_blank" rel="noreferrer nofollow noopener"&gt;an example of using refresh tokens with the JavaScript SDK here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise, if you cannot use the SDK, you'll need to use the refresh token to programmatically retrieve new short-lived access tokens whenever needed. You can find more information on that in the &lt;A href="https://developers.dropbox.com/oauth-guide" target="_blank" rel="noopener noreferrer"&gt;OAuth Guide&lt;/A&gt; and &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#authorization" target="_blank" rel="noopener noreferrer"&gt;authorization documentation&lt;/A&gt;. For instance, refer to "Example: refresh token request" in &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#oauth2-token" target="_self"&gt;the /oauth2/token documentation&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 14:25:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Need-Permanant-Access-token-for-drop-box/m-p/585672#M2490</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-03-23T14:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Need Permanant Access token for drop box</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Need-Permanant-Access-token-for-drop-box/m-p/586242#M2492</link>
      <description>&lt;P&gt;Thank you so much for your support.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Nitish Kumar&lt;/P&gt;&lt;P&gt;&lt;A title="Github" href="https://github.com/nitish166" target="_self"&gt;nitish166&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 09:26:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Need-Permanant-Access-token-for-drop-box/m-p/586242#M2492</guid>
      <dc:creator>nitish166</dc:creator>
      <dc:date>2022-03-25T09:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Need Permanant Access token for drop box</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Need-Permanant-Access-token-for-drop-box/m-p/603924#M2715</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just encountered the new authentication way issue with the official node SDK.&lt;/P&gt;&lt;P&gt;I need a long life token to run on my backend server that requests regularly my files on dropbox.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand the need to refresh the short live token, but I don't understand how to perform that.&lt;/P&gt;&lt;P&gt;The provided example &lt;A href="https://github.com/dropbox/dropbox-sdk-js/blob/b5631e4b5b0e9eb6d3297e1ee57ad29a63d49898/examples/javascript/PKCE-backend/code_flow_example.js" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-js/blob/b5631e4b5b0e9eb6d3297e1ee57ad29a63d49898/examples/javascript/PKCE-backend/code_flow_example.js&lt;/A&gt; doesn't help because this is not my use case (my app is a backend app, not a frontend one). I can't use&amp;nbsp;&lt;SPAN&gt;getAuthenticationUrl because I don't have to use a redirect url&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Here is a sample of my dropbox service&amp;nbsp;&lt;A href="https://gist.github.com/tangb/f749af0f95a1db03cc1c0abf5a8ed03d" target="_blank"&gt;https://gist.github.com/tangb/f749af0f95a1db03cc1c0abf5a8ed03d&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see I instanciate my dropbox SDK in my constructor using my token (which is now always a short-lived token). All this code worked before I update my token.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, I have some questions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;why the sdk does not automatically handle refresh token (it should have all necessary to perform this itself no ?)&lt;/LI&gt;&lt;LI&gt;how to refresh my token by myself using my code ? I understand I need to handle 401 http status and request a new short-lived token using a refresh token, but where can I find it ? In my app console panel, I only find a token, not the refresh token ? Do I use the clientId/clientSecret ?... is there and example to illustrate the process ?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your help &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;</description>
      <pubDate>Fri, 17 Jun 2022 13:55:30 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Need-Permanant-Access-token-for-drop-box/m-p/603924#M2715</guid>
      <dc:creator>MG2L</dc:creator>
      <dc:date>2022-06-17T13:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Need Permanant Access token for drop box</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Need-Permanant-Access-token-for-drop-box/m-p/603942#M2716</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1549301"&gt;@MG2L&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Your SDK can automatically refresh access token using the provided refresh token usually. About how to get a refresh token, take a look &lt;A href="https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-in-generating-access-token/m-p/592921" target="_blank" rel="noopener"&gt;here&lt;/A&gt; for a possible way. &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;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 14:26:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Need-Permanant-Access-token-for-drop-box/m-p/603942#M2716</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-06-17T14:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Need Permanant Access token for drop box</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Need-Permanant-Access-token-for-drop-box/m-p/603969#M2718</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1549301"&gt;@MG2L&lt;/a&gt;&amp;nbsp;Здравко is correct; the Dropbox JavaScript SDK does perform the refresh process for you automatically as long as you provide the necessary credentials (e.g., the refresh token), as shown the example. (You can also call &lt;A href="https://dropbox.github.io/dropbox-sdk-js/global.html#refreshAccessToken__anchor" target="_blank"&gt;refreshAccessToken&lt;/A&gt; in the SDK explicitly if you want to for whatever reason, but it's not necessary.) And as Здравко illustrated, you have to use the OAuth app authorization flow to get a refresh token.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, you can technically use getAuthenticationUrl without a redirect URI, by setting the parameter to null, as long as you're using the "code" flow (e.g., as shown in that example). In that case, the user would just need to manually copy/paste the resulting authorization code back into the app.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 15:27:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Need-Permanant-Access-token-for-drop-box/m-p/603969#M2718</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-06-17T15:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Need Permanant Access token for drop box</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Need-Permanant-Access-token-for-drop-box/m-p/604404#M2721</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First of all thank you very much for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noted dropbox node sdk will refresh automatically my token if it expires.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I sucessfully tryed the manual procedure provided by&amp;nbsp;&lt;SPAN&gt;Здравко (request url in my browser, perform curl request to get code and use it in my backend) but I can't request a "code" from my backend while the request form will wait for an the form to be validated. So I still do not understand how to connect the first time (after each deployment) using the node SDK.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In all usecases I already encountered in my developer life (;-)), I usually need to provide a clientId/clientSecret most often encrypted in base64 (concat with special char between) and the SDK will automatically handle all auth stuff (auth -&amp;gt; refresh_token -&amp;gt; expiration -&amp;gt; new refresh token).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my mind, I just need to create my Dropbox objet with appropriate parameters and the sdk magically do the rest. In other words my backend must handles the authentication process by itself without human intervention to provide a code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Maybe I missed something somewhere on your answers :S&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Maybe there is some piece of code somewhere ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Or maybe there is a way to generate a permanent access token with manual procedure ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you again for your help. It is really appreciated &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;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 13:35:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Need-Permanant-Access-token-for-drop-box/m-p/604404#M2721</guid>
      <dc:creator>MG2L</dc:creator>
      <dc:date>2022-06-20T13:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need Permanant Access token for drop box</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Need-Permanant-Access-token-for-drop-box/m-p/604752#M2726</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1549301"&gt;@MG2L&lt;/a&gt; The user does need to process the app authorization flow manually at least once to authorize the app. That produces an authorization code that can be used once to retrieve the access token and optional refresh token. The refresh token can be stored and re-used without manual user interaction though. Even if you are the only user of your app, you'll need to do that manually once. In addition to the outline that Здравко linked to, you can see &lt;A href="https://github.com/dropbox/dropbox-sdk-js/blob/b5631e4b5b0e9eb6d3297e1ee57ad29a63d49898/examples/javascript/PKCE-backend/code_flow_example.js" target="_blank"&gt;an example of the OAuth app authorization flow implemented with the JavaScript SDK in particular here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 18:10:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Need-Permanant-Access-token-for-drop-box/m-p/604752#M2726</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-06-21T18:10:35Z</dc:date>
    </item>
  </channel>
</rss>

