<?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: How can i get an acces token without a login? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/690658#M30965</link>
    <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1712488"&gt;@Alex_Ch&lt;/a&gt; Здравко is correct, the official Dropbox SDKs, such as &lt;A href="https://github.com/dropbox/dropbox-sdk-js" target="_blank"&gt;the Dropbox JavaScript SDK&lt;/A&gt;, will handle the refresh for you automatically as long as you supply the necessary credentials (refresh token, app key, etc.). You can find &lt;A href="https://github.com/dropbox/dropbox-sdk-js/blob/b5631e4b5b0e9eb6d3297e1ee57ad29a63d49898/examples/javascript/PKCE-backend/code_flow_example.js#L38" target="_blank"&gt;an example of that for the Dropbox JavaScript SDK here&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 16:41:29 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2023-06-09T16:41:29Z</dc:date>
    <item>
      <title>How can i get an acces token without a login?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/690457#M30960</link>
      <description>&lt;P&gt;why am I using Dropbox?&lt;BR /&gt;&lt;BR /&gt;I´m developing a project with react. It's pretty simple, just a form where ussers send a pdf file. The thing I want to do is just that the ussers send their file and its uploaded to my dropbox account in its app folder.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what im having trouble with:&lt;/P&gt;
&lt;P&gt;I were testing with the generated token in app console, but i need a way to have an access token. How could i get an access token witout a login?, i just need that the ussers send the files to my app folder in my dropbox&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I apologize for my poor choice of words, I`m new in this topic&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 21:35:59 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/690457#M30960</guid>
      <dc:creator>Alex_Ch</dc:creator>
      <dc:date>2023-06-08T21:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can i get an acces token without a login?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/690469#M30961</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1712488"&gt;@Alex_Ch&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Since you want to access your own account (not user's accounts), the best way would be to implement the entire communication to your Dropbox account (or the communication management, at least) on your server side. In such a way you can use pre-generated refresh token usable to refresh your access token (generation whenever needed - something performed automatically when official SDK is in use). There is no way access token to be generated completely without user confirmation (the your confirmation in particular case - your account is the target), but once refresh token is generated you can use it without further interaction from your side or your site's users.&lt;/P&gt;&lt;P&gt;One scenario is on post the pdf, it flows to your site and next from your site to Dropbox (i.e. your site behave like a proxy). Other scenario is on user intent to post, on your site a temporary upload link to be generated and the pdf to be uploaded directly to Dropbox (without passing through your site) using this link. In the both cases you don't expose any credentials to the user's browser, something that should be followed (or is advisable, at least).&lt;/P&gt;&lt;P&gt;Hope this gives direction.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 21:31:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/690469#M30961</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-06-08T21:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: How can i get an acces token without a login?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/690580#M30962</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1712488"&gt;@Alex_Ch&lt;/a&gt; I see Здравко already offered some helpful guidance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For more information on the OAuth flow, for retrieving a refresh token, refer to the following resources:&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;
&lt;P&gt;And the documentation for the endpoint for generating a temporary upload link can be found here:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_temporary_upload_link" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#files-get_temporary_upload_link&lt;/A&gt; &lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 09 Jun 2023 12:15:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/690580#M30962</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-06-09T12:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can i get an acces token without a login?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/690643#M30963</link>
      <description>&lt;P&gt;excuse me but, how could i use the http request to refresh the access token in the sdk for javascript?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 15:52:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/690643#M30963</guid>
      <dc:creator>Alex_Ch</dc:creator>
      <dc:date>2023-06-09T15:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: How can i get an acces token without a login?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/690645#M30964</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1712488"&gt;@Alex_Ch&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;excuse me but, how could i use the http request to refresh the access token in the sdk for javascript?&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You can use raw http request, but you don't need to do that. As I said you can use SDK and in every SDK (&lt;A href="https://dropbox.github.io/dropbox-sdk-js/" target="_blank" rel="noopener"&gt;including Dropbox Javascript SDK&lt;/A&gt;) are equivalent calls. It's your decision what you will use (depending on your development environment server side - you haven't mentioned what are you using there till now).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add: You may have skipped what I wrote above and I will repeat again. When your use some SDK (doesn't matter what exactly) the refreshing is performed automatic internally. You don't need to do more that proper client object initialization. Everything else is the same.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 16:08:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/690645#M30964</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-06-09T16:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: How can i get an acces token without a login?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/690658#M30965</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1712488"&gt;@Alex_Ch&lt;/a&gt; Здравко is correct, the official Dropbox SDKs, such as &lt;A href="https://github.com/dropbox/dropbox-sdk-js" target="_blank"&gt;the Dropbox JavaScript SDK&lt;/A&gt;, will handle the refresh for you automatically as long as you supply the necessary credentials (refresh token, app key, etc.). You can find &lt;A href="https://github.com/dropbox/dropbox-sdk-js/blob/b5631e4b5b0e9eb6d3297e1ee57ad29a63d49898/examples/javascript/PKCE-backend/code_flow_example.js#L38" target="_blank"&gt;an example of that for the Dropbox JavaScript SDK here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 16:41:29 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/690658#M30965</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-06-09T16:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: How can i get an acces token without a login?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/691716#M31000</link>
      <description>&lt;P&gt;Hello again, excuse my delay.&lt;BR /&gt;&lt;BR /&gt;I`ve been studying the documentation and the SDK example, and I have a question.&lt;BR /&gt;&lt;BR /&gt;I`m not get used to using express js, so I'm a little bit lost with that. Where does the parameter "code" comes from? I`ve tried with the token I already have, but I get a 400 code.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 17:06:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/691716#M31000</guid>
      <dc:creator>Alex_Ch</dc:creator>
      <dc:date>2023-06-14T17:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: How can i get an acces token without a login?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/691722#M31003</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1712488"&gt;@Alex_Ch&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You don't need to embed this part of the code; focus on the line that Greg enlightened and shows how you can set refresh token (one of the possible ways). You can take a look &lt;A href="https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-in-generating-access-token/m-p/592667#M27563" target="_blank" rel="noopener"&gt;here&lt;/A&gt; how you can get all needed by hand; it's one time action. The last action described in the post, I linked to (the only repeatable), gets performed by the SDK internally.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 17:19:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/691722#M31003</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-06-14T17:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: How can i get an acces token without a login?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/691740#M31005</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1712488"&gt;@Alex_Ch&lt;/a&gt; As Здравко said, you shouldn't be embedding and re-using the 'code'. The 'code' value is the "authorization code", which can only be used once. You should instead store and re-use the "refresh token" once you have it.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 18:15:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/691740#M31005</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-06-14T18:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: How can i get an acces token without a login?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/692297#M31016</link>
      <description>&lt;P&gt;Ok, I´ve been testing and I think I got it.&lt;BR /&gt;&lt;BR /&gt;Just one more question, how do I pre-generate the refresh token? (I think I should start with that, I apologize for that)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 17:47:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/692297#M31016</guid>
      <dc:creator>Alex_Ch</dc:creator>
      <dc:date>2023-06-16T17:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: How can i get an acces token without a login?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/692304#M31017</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1712488"&gt;@Alex_Ch&lt;/a&gt; It is not possible to "pre-generate" the refresh token. A refresh token can only be retrieved by authorizing the app using the app authorization flow. The refresh token doesn't expire though, so that only needs to be done once per Dropbox account (though the refresh token can be revoked on demand).&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 18:17:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/692304#M31017</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-06-16T18:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: How can i get an acces token without a login?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/692308#M31018</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1712488"&gt;@Alex_Ch&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;...&lt;BR /&gt;Just one more question, how do I pre-generate the &lt;U&gt;&lt;FONT color="#99CC00"&gt;refresh token&lt;/FONT&gt;&lt;/U&gt;? ...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/422790"&gt;@Здравко&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;... You can take a look&lt;U&gt;&lt;FONT color="#99CC00"&gt; &lt;A href="https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-in-generating-access-token/m-p/592667#M27563" target="_blank" rel="noopener"&gt;here&lt;/A&gt; &lt;/FONT&gt;&lt;/U&gt;how you can get all needed by hand; ...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;... all needed, including refresh token. &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, 16 Jun 2023 18:24:29 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/692308#M31018</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-06-16T18:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: How can i get an acces token without a login?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/693136#M31035</link>
      <description>&lt;P&gt;In the SDK for javascript that`s the "get access token from code"?, how could I use it to get the refresh token?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 13:56:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/693136#M31035</guid>
      <dc:creator>Alex_Ch</dc:creator>
      <dc:date>2023-06-20T13:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: How can i get an acces token without a login?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/693179#M31039</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1712488"&gt;@Alex_Ch&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;... "get access token from code"?, how could I use it to get the refresh token?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You cannot! Access token is generated from refresh token, not opposite!!! Didn't you read all posted till now? 🤷&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 15:53:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/693179#M31039</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-06-20T15:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: How can i get an acces token without a login?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/693204#M31043</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1712488"&gt;@Alex_Ch&lt;/a&gt; When using the OAuth app authorization flow, Dropbox gives an "authorization code" (sometimes also called "access code") that can be exchanged (once) for the access token and optional refresh token. As Здравко said, that resulting refresh token can then be used to retrieve further access tokens as needed. There's &lt;A href="https://dropbox.tech/developers/using-oauth-2-0-with-offline-access#using-offline-access" target="_blank"&gt;an example of that flow in this blog post&lt;/A&gt;. That's the same flow implemented by the JavaScript SDK, such as in &lt;A href="https://github.com/dropbox/dropbox-sdk-js/blob/b5631e4b5b0e9eb6d3297e1ee57ad29a63d49898/examples/javascript/PKCE-backend/code_flow_example.js#L38" target="_blank"&gt;this example&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 17:05:14 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/693204#M31043</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-06-20T17:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: How can i get an acces token without a login?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/693696#M31064</link>
      <description>&lt;P&gt;Excuse me if I confuse with something, this topic is kinda new to me&lt;BR /&gt;&lt;BR /&gt;I`ve been testing the auth flow, and when I tried to get the authorization code I got a login screen. Is there another way to get the authorization code without that login? The app only needs access to my own account&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 14:44:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/693696#M31064</guid>
      <dc:creator>Alex_Ch</dc:creator>
      <dc:date>2023-06-22T14:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: How can i get an acces token without a login?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/693697#M31065</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1712488"&gt;@Alex_Ch&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;... Is there another way to get the authorization code without that login? ...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;No, it's not.&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/1712488"&gt;@Alex_Ch&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;... The app only needs access to my own account&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Ok, so you need to perform OAuth (including receiving access code) once, as Greg said, and no more. Once you have refresh token you don't need to open any login screen. The refresh token, application key, and (optionally - becomes mandatory for no PKCE) application secret are enough for automatic access token regeneration without any further user interaction (including interaction to you).&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 14:55:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/693697#M31065</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-06-22T14:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: How can i get an acces token without a login?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/693724#M31066</link>
      <description>&lt;P&gt;Ok, I think I finally got it.&lt;BR /&gt;&lt;BR /&gt;Just one more thing. In the SDK for javascript, I tried to use the command "refreshAccessToken", but it doesn´t read the scopes, I always get the "Scope must be an array of strings" error, even when I define the array in the property.&lt;BR /&gt;&lt;BR /&gt;Where could I find an example of that command? I think I´m using the syntax wrong&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 17:13:45 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/693724#M31066</guid>
      <dc:creator>Alex_Ch</dc:creator>
      <dc:date>2023-06-22T17:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: How can i get an acces token without a login?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/693733#M31067</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1712488"&gt;@Alex_Ch&lt;/a&gt; You do not need call refreshAccessToken yourself, unless you need to retrieve a client with a sub-set of the authorized scopes. The SDK will automatically perform the refresh process for you automatically for the currently authorized scopes without you calling refreshAccessToken in your own code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you do want to call refreshAccessToken explicitly though, you could do so like this:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;dbx.auth.refreshAccessToken()
  .then(function() {
    // ...
  })
  .catch(function(error) {
    console.error(error);
  });
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To call refreshAccessToken with a specific set of scopes, pass in a list like this:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;dbx.auth.refreshAccessToken(["account_info.read", "sharing.read"])
  .then(function() {
    // ...
  })
  .catch(function(error) {
    console.error(error);
  });&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 17:56:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/693733#M31067</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-06-22T17:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: How can i get an acces token without a login?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/693990#M31069</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;&amp;nbsp;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/422790"&gt;@Здравко&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks, it´s working well. Thanks for the help&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 17:02:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-i-get-an-acces-token-without-a-login/m-p/693990#M31069</guid>
      <dc:creator>Alex_Ch</dc:creator>
      <dc:date>2023-06-23T17:02:26Z</dc:date>
    </item>
  </channel>
</rss>

