<?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: Authentication for command line app in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authentication-for-command-line-app/m-p/179190#M7244</link>
    <description>&lt;P&gt;This is a general problem with using OAuth in client-side applications, since client-side apps like this can't keep secrets. OAuth 2 addresses this with the "token" or "implicit" flow. When using the token flow (as opposed to the "code" flow), the app doesn't need the app secret to get an access token for the user. You can find more information on the different flows in the documentation here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#authorization" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers/documentation/http/documentation#authorization&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;For a client-side app like this, you should use the token flow. Also, you didn't mention if you're using it, but for reference, the official&amp;nbsp;Dropbox Python SDK is mainly meant for server-side apps, where the secret can be kept secret, so it doesn't support the token flow.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Apr 2016 01:44:33 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2016-04-28T01:44:33Z</dc:date>
    <item>
      <title>Authentication for command line app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authentication-for-command-line-app/m-p/179189#M7243</link>
      <description>&lt;P&gt;I'm writing an app in Python, that needs to access the Dropbox APIv2. However, if I follow the typical OAuth flow for user authentication, I will have to include my APP_KEY and APP_SECRET in the source code -practically sharing it with anyone willing to have a look.&lt;BR /&gt;&lt;BR /&gt;What is the suggested way of authentication users in a similar setup?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:33:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authentication-for-command-line-app/m-p/179189#M7243</guid>
      <dc:creator>Panayotis V.1</dc:creator>
      <dc:date>2019-05-29T09:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication for command line app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authentication-for-command-line-app/m-p/179190#M7244</link>
      <description>&lt;P&gt;This is a general problem with using OAuth in client-side applications, since client-side apps like this can't keep secrets. OAuth 2 addresses this with the "token" or "implicit" flow. When using the token flow (as opposed to the "code" flow), the app doesn't need the app secret to get an access token for the user. You can find more information on the different flows in the documentation here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#authorization" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers/documentation/http/documentation#authorization&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;For a client-side app like this, you should use the token flow. Also, you didn't mention if you're using it, but for reference, the official&amp;nbsp;Dropbox Python SDK is mainly meant for server-side apps, where the secret can be kept secret, so it doesn't support the token flow.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 01:44:33 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authentication-for-command-line-app/m-p/179190#M7244</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-04-28T01:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication for command line app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authentication-for-command-line-app/m-p/179191#M7245</link>
      <description>&lt;P&gt;Thank you Gregory.&lt;/P&gt;
&lt;P&gt;Yes, I'm using the Dropbox Python SDK.&amp;nbsp;Please consider supporting the token flow in a future release of the SDK.&lt;/P&gt;
&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 10:15:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authentication-for-command-line-app/m-p/179191#M7245</guid>
      <dc:creator>Panayotis V.1</dc:creator>
      <dc:date>2016-04-28T10:15:18Z</dc:date>
    </item>
  </channel>
</rss>

