<?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: VBA &amp;amp; API authentication in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/VBA-amp-API-authentication/m-p/657081#M29924</link>
    <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1614903"&gt;@agomezv&lt;/a&gt; Yes, that process would give you a refresh token that can be stored and re-used repeatedly to get new short-lived access tokens as needed.&lt;/P&gt;</description>
    <pubDate>Mon, 06 Feb 2023 18:41:32 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2023-02-06T18:41:32Z</dc:date>
    <item>
      <title>VBA &amp; API authentication</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/VBA-amp-API-authentication/m-p/656112#M29873</link>
      <description>&lt;P&gt;Hi, I have a VBA&amp;nbsp; that uses the API to create&amp;nbsp; shared links (another process generates these files) , by now&amp;nbsp; I´m using the token that the AppConsole generates and everything it´s ok.&lt;/P&gt;
&lt;P&gt;I only need to make this to files from one account ( my account)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The token that I generate has limited time.&lt;/P&gt;
&lt;P&gt;My question is: How can I get access the&amp;nbsp; API whitout implement the OAuth2 flow?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This because it will be impossible that the user gets a token from the AppConsole everytime that he use my VBA app.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 09:01:22 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/VBA-amp-API-authentication/m-p/656112#M29873</guid>
      <dc:creator>agomezv</dc:creator>
      <dc:date>2023-02-03T09:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: VBA &amp; API authentication</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/VBA-amp-API-authentication/m-p/656133#M29874</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1614903"&gt;@agomezv&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;My question is: How can I get access the&amp;nbsp; API whitout implement the OAuth2 flow?&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/1614903"&gt;@agomezv&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;It's impossible yet.&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/1614903"&gt;@agomezv&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;This because it will be impossible that the user gets a token from the AppConsole everytime that he use my VBA app.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The user doesn't need to go in such a way. He can authenticate your application like any other app (like the example &lt;A href="https://www.dropboxforum.com/t5/View-download-and-export/Key-Command-Shortcut-to-quot-Copy-Dropbox-Link-quot-from-Mac/m-p/651855/highlight/true#M42259" target="_blank" rel="noopener"&gt;here&lt;/A&gt; in Python) or authentication in advance and using credentials further, in the actual application, without any other user actions within the app itself.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 19:10:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/VBA-amp-API-authentication/m-p/656133#M29874</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-02-02T19:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: VBA &amp; API authentication</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/VBA-amp-API-authentication/m-p/656135#M29875</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1614903"&gt;@agomezv&lt;/a&gt; It is not possible to get long-term access without using the OAuth app authorization flow. Apps can get long-term access by requesting "offline" access in the OAuth flow, 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. Note that you only need to do this once per account though, as the resulting refresh token does not expire.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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;. There's a basic outline of processing this flow in &lt;A href="https://dropbox.tech/developers/using-oauth-2-0-with-offline-access" target="_blank" rel="noopener noreferrer nofollow"&gt;this blog post&lt;/A&gt; which may serve as a useful example.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 18:40:45 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/VBA-amp-API-authentication/m-p/656135#M29875</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-02-06T18:40:45Z</dc:date>
    </item>
    <item>
      <title>VBA &amp; API authentication</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/VBA-amp-API-authentication/m-p/656290#M29906</link>
      <description>&lt;P&gt;Thanks Здравко&amp;nbsp;and Greg, One more question:&lt;/P&gt;&lt;P&gt;If from a browser I invoke:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;A href="https://www.dropbox.com/oauth2/authorize?client_id=fkdw14thym0pxgz&amp;amp;response_type=code&amp;amp;token_access_type=online" target="_blank"&gt;https://www.dropbox.com/oauth2/authorize?client_id=fkdw14thym0pxgz&amp;amp;response_type=code&amp;amp;token_access_type=online&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;to get an auth code,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then, within my VBA app, use the&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;'curl &lt;A href="https://api.dropbox.com/oauth2/token" target="_blank"&gt;https://api.dropbox.com/oauth2/token&lt;/A&gt; \&lt;BR /&gt;' -d code=&amp;lt;AUTHORIZATION_CODE&amp;gt; \&lt;BR /&gt;' -d grant_type=authorization_code \&lt;BR /&gt;' -d redirect_uri=&amp;lt;REDIRECT_URI&amp;gt; \&lt;BR /&gt;' -d client_id=&amp;lt;APP_KEY&amp;gt; \&lt;BR /&gt;' -d client_secret=&amp;lt;APP_SECRET&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I get and refresh the token? Does it will work ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 03:34:43 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/VBA-amp-API-authentication/m-p/656290#M29906</guid>
      <dc:creator>agomezv</dc:creator>
      <dc:date>2023-02-03T03:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: VBA &amp; API authentication</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/VBA-amp-API-authentication/m-p/657081#M29924</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1614903"&gt;@agomezv&lt;/a&gt; Yes, that process would give you a refresh token that can be stored and re-used repeatedly to get new short-lived access tokens as needed.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 18:41:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/VBA-amp-API-authentication/m-p/657081#M29924</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-02-06T18:41:32Z</dc:date>
    </item>
  </channel>
</rss>

