<?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: Authenticate internaly with dropbox through my app in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authenticate-internaly-with-dropbox-through-my-app/m-p/28687#M842</link>
    <description>&lt;P&gt;How does it fail? (What's the error/stack?)&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jan 2015 03:15:59 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2015-01-22T03:15:59Z</dc:date>
    <item>
      <title>Authenticate internaly with dropbox through my app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authenticate-internaly-with-dropbox-through-my-app/m-p/28680#M835</link>
      <description>&lt;P&gt;Hello Everyone,&lt;BR /&gt;
                        I have a photo studio app in this app&lt;BR /&gt;&lt;BR /&gt;
I want to  user can upload them photos  on my drop box folder through my app without registering on dropbox. When they upload photo through my app,My app should login internaly with my drop box credential  without user intrection.&lt;BR /&gt;
Thanks in adavance &lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:46:20 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authenticate-internaly-with-dropbox-through-my-app/m-p/28680#M835</guid>
      <dc:creator>Pawan A.</dc:creator>
      <dc:date>2019-05-29T09:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Authenticate internaly with dropbox through my app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authenticate-internaly-with-dropbox-through-my-app/m-p/28681#M836</link>
      <description>&lt;P&gt;The Dropbox API was designed with the intention that each user would link their own Dropbox account, in order to interact with their own files. However, it is technically possible to connect to just one account. The SDKs don't offer explicit support for it and we don't recommend doing so, for various technical and security reasons.&lt;/P&gt;

&lt;P&gt;However if you did want to go this route, instead of kicking off the authorization flow, you would manually use an existing access token for your app. (Just be careful not to revoke it, e.g. via &lt;A href="https://www.dropbox.com/account/security" rel="nofollow noreferrer"&gt;https://www.dropbox.com/account/security&lt;/A&gt; .) &lt;/P&gt;</description>
      <pubDate>Fri, 09 Jan 2015 23:34:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authenticate-internaly-with-dropbox-through-my-app/m-p/28681#M836</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-01-09T23:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Authenticate internaly with dropbox through my app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authenticate-internaly-with-dropbox-through-my-app/m-p/28682#M837</link>
      <description>&lt;P&gt;Even being very insecure want to do this, but it still fails authentication.&lt;BR /&gt;
Is there any example code for this task?&lt;/P&gt;

&lt;P&gt;Sorry my English, Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 18 Jan 2015 17:24:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authenticate-internaly-with-dropbox-through-my-app/m-p/28682#M837</guid>
      <dc:creator>juan g.2</dc:creator>
      <dc:date>2015-01-18T17:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Authenticate internaly with dropbox through my app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authenticate-internaly-with-dropbox-through-my-app/m-p/28683#M838</link>
      <description>&lt;P&gt;No, we don't have any sample code for this, since it isn't recommended. What error do you get?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2015 03:48:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authenticate-internaly-with-dropbox-through-my-app/m-p/28683#M838</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-01-21T03:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Authenticate internaly with dropbox through my app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authenticate-internaly-with-dropbox-through-my-app/m-p/28684#M839</link>
      <description>&lt;P&gt;I do not get any errors simply skips the Log "No Authentification" something I'm not doing well.&lt;/P&gt;

&lt;P&gt;Use token generated by the console application&lt;/P&gt;

&lt;P&gt;This is my code:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://pastebin.com/HYhHca0s" rel="nofollow noreferrer"&gt;http://pastebin.com/HYhHca0s&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2015 22:50:15 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authenticate-internaly-with-dropbox-through-my-app/m-p/28684#M839</guid>
      <dc:creator>juan g.2</dc:creator>
      <dc:date>2015-01-21T22:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Authenticate internaly with dropbox through my app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authenticate-internaly-with-dropbox-through-my-app/m-p/28685#M840</link>
      <description>&lt;P&gt;It looks like you're checking &lt;CODE&gt;authenticationSuccessful&lt;/CODE&gt; but this only returns true during an actual app authorization flow. However, since you're setting your access token manually, this doesn't apply. You can used &lt;CODE&gt;isLinked&lt;/CODE&gt; to check if you have an access token set instead:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://www.dropbox.com/static/developers/dropbox-android-sdk-1.6.3-docs/com/dropbox/client2/session/Session.html#isLinked()" rel="nofollow noreferrer"&gt;https://www.dropbox.com/static/developers/dropbox-android-sdk-1.6.3-docs/com/dropbox/client2/session/Session.html#isLinked()&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Note that this doesn't validate the access token against the server though. If the access token has been revoked, later API calls will fail.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2015 00:59:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authenticate-internaly-with-dropbox-through-my-app/m-p/28685#M840</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-01-22T00:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Authenticate internaly with dropbox through my app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authenticate-internaly-with-dropbox-through-my-app/m-p/28686#M841</link>
      <description>&lt;P&gt;Well he was right, now goes well but I have another dilemma ...&lt;BR /&gt;
No files get access here, notice in my codigome fails in&lt;BR /&gt;
Entry entry = mDBApi.metadata ("/ dropfiles.dat", 1, null, false, null);&lt;/P&gt;

&lt;P&gt;my code:&lt;BR /&gt;
&lt;A href="http://pastebin.com/ufJ8Vda7" rel="nofollow noreferrer"&gt;http://pastebin.com/ufJ8Vda7&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2015 02:43:40 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authenticate-internaly-with-dropbox-through-my-app/m-p/28686#M841</guid>
      <dc:creator>juan g.2</dc:creator>
      <dc:date>2015-01-22T02:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Authenticate internaly with dropbox through my app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authenticate-internaly-with-dropbox-through-my-app/m-p/28687#M842</link>
      <description>&lt;P&gt;How does it fail? (What's the error/stack?)&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2015 03:15:59 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authenticate-internaly-with-dropbox-through-my-app/m-p/28687#M842</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-01-22T03:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Authenticate internaly with dropbox through my app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authenticate-internaly-with-dropbox-through-my-app/m-p/28688#M843</link>
      <description>&lt;P&gt;This&lt;/P&gt;

&lt;P&gt;&lt;A href="http://pastebin.com/j9tvhVnh" rel="nofollow noreferrer"&gt;http://pastebin.com/j9tvhVnh&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2015 03:58:59 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authenticate-internaly-with-dropbox-through-my-app/m-p/28688#M843</guid>
      <dc:creator>juan g.2</dc:creator>
      <dc:date>2015-01-22T03:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Authenticate internaly with dropbox through my app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authenticate-internaly-with-dropbox-through-my-app/m-p/28689#M844</link>
      <description>&lt;P&gt;You're getting a &lt;CODE&gt;NetworkOnMainThreadException&lt;/CODE&gt;, which only isn't specific to Dropbox. In short, you shouldn't make network calls (for example, Dropbox API calls like &lt;CODE&gt;metadata&lt;/CODE&gt; which call the Dropbox API servers) on the main thread. You can find more information here:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://developer.android.com/reference/android/os/NetworkOnMainThreadException.html" rel="nofollow noreferrer"&gt;https://developer.android.com/reference/android/os/NetworkOnMainThreadException.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2015 05:13:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authenticate-internaly-with-dropbox-through-my-app/m-p/28689#M844</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-01-22T05:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Authenticate internaly with dropbox through my app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authenticate-internaly-with-dropbox-through-my-app/m-p/28690#M845</link>
      <description>&lt;P&gt;Ups! If the error was that, thank you very much for your help, I will continue with my development&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2015 05:41:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authenticate-internaly-with-dropbox-through-my-app/m-p/28690#M845</guid>
      <dc:creator>juan g.2</dc:creator>
      <dc:date>2015-01-22T05:41:34Z</dc:date>
    </item>
  </channel>
</rss>

