<?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 to authenticate without browser/app in c# ?  in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-authenticate-without-browser-app-in-c/m-p/146700#M4750</link>
    <description>&lt;P&gt;Can you please give me an idea to it. or any link which will help me to do it ?&lt;/P&gt;</description>
    <pubDate>Fri, 18 Dec 2015 21:20:19 GMT</pubDate>
    <dc:creator>Dipak pote</dc:creator>
    <dc:date>2015-12-18T21:20:19Z</dc:date>
    <item>
      <title>How to authenticate without browser/app in c# ?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-authenticate-without-browser-app-in-c/m-p/146698#M4748</link>
      <description>&lt;P&gt;How to authenticate without browser/app in c# ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did all the operation on dropbox but at the start(only one time) it ask me for the username &amp;amp; password&lt;/P&gt;
&lt;P&gt;But I don't want any popup for authentication.I need to do it through code.&lt;/P&gt;
&lt;P&gt;Here is my sample code where popup out for username &amp;amp; password then I get the token:&lt;/P&gt;
&lt;P&gt;private void GetAccessToken()&lt;BR /&gt; {&lt;BR /&gt; var login = new DropboxLogin(apiKey,appSecret);&lt;BR /&gt; login.Owner = this;&lt;BR /&gt; login.ShowDialog();&lt;/P&gt;
&lt;P&gt;if (login.IsSuccessfully)&lt;BR /&gt; {&lt;BR /&gt; Properties.Settings.Default.AccessToken = login.AccessToken.Value;&lt;BR /&gt; Properties.Settings.Default.Save();&lt;BR /&gt; }&lt;BR /&gt; else&lt;BR /&gt; {&lt;BR /&gt; MessageBox.Show("Failed to get access token................");&lt;BR /&gt; }&lt;BR /&gt; &lt;BR /&gt; }&lt;/P&gt;
&lt;P&gt;Can you pleas help me?&lt;/P&gt;
&lt;P&gt;Thanks in advance!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:37:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-authenticate-without-browser-app-in-c/m-p/146698#M4748</guid>
      <dc:creator>Dipak pote</dc:creator>
      <dc:date>2019-05-29T09:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to authenticate without browser/app in c# ?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-authenticate-without-browser-app-in-c/m-p/146699#M4749</link>
      <description>&lt;P&gt;You cant do it through code, the entire point of it is so you do not handle user credentials in your code, you pass it off to the Dropbox OAuth system and get a token back in return.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 21:13:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-authenticate-without-browser-app-in-c/m-p/146699#M4749</guid>
      <dc:creator>Richard P.</dc:creator>
      <dc:date>2015-12-18T21:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to authenticate without browser/app in c# ?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-authenticate-without-browser-app-in-c/m-p/146700#M4750</link>
      <description>&lt;P&gt;Can you please give me an idea to it. or any link which will help me to do it ?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 21:20:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-authenticate-without-browser-app-in-c/m-p/146700#M4750</guid>
      <dc:creator>Dipak pote</dc:creator>
      <dc:date>2015-12-18T21:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to authenticate without browser/app in c# ?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-authenticate-without-browser-app-in-c/m-p/146701#M4751</link>
      <description>&lt;P&gt;No, because you cannot do it - you must show the dialog as the SDK says - the code you have in your original post is the correct way to do it.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 21:22:01 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-authenticate-without-browser-app-in-c/m-p/146701#M4751</guid>
      <dc:creator>Richard P.</dc:creator>
      <dc:date>2015-12-18T21:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to authenticate without browser/app in c# ?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-authenticate-without-browser-app-in-c/m-p/146702#M4752</link>
      <description>&lt;P&gt;Richard's correct,&amp;nbsp;Dropbox API apps should not handle the user's credentials, but should use the OAuth flow instead. Note that this only needs to be done once per user. Once your app has an access token for a user, it can store and re-use the access token for future API calls for that user without further manual user intervention. Access tokens don't expire by themselves (though they can be manually revoked).&lt;/P&gt;</description>
      <pubDate>Sat, 19 Dec 2015 01:57:06 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-authenticate-without-browser-app-in-c/m-p/146702#M4752</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-12-19T01:57:06Z</dc:date>
    </item>
  </channel>
</rss>

