<?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: Migrating oauth1 to oauth2 using token_from_oauth1  in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Migrating-oauth1-to-oauth2-using-token-from-oauth1/m-p/153646#M5132</link>
    <description>&lt;P&gt;[Cross-linking for reference:&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/33700332/dropbox-migrating-oauth1-to-oauth2-using-token-from-oauth1" rel="nofollow noreferrer"&gt;https://stackoverflow.com/questions/33700332/dropbox-migrating-oauth1-to-oauth2-using-token-from-oauth1&lt;/A&gt; ]&lt;/P&gt;
&lt;P&gt;This call needs to be signed using OAuth 1, so this blog post, specifically step 4, maybe be helpful:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.dropbox.com/developers/2012/07/using-oauth-1-0-with-the-plaintext-signature-method/" rel="nofollow noreferrer"&gt;https://blogs.dropbox.com/developers/2012/07/using-oauth-1-0-with-the-plaintext-signature-method/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In short, you need to supply all of the parameters shown there. (It's also possible to send them in URL parameters.)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The actual spec is here if you want:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://oauth.net/core/1.0/" rel="nofollow noreferrer"&gt;http://oauth.net/core/1.0/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 14 Nov 2015 03:37:42 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2015-11-14T03:37:42Z</dc:date>
    <item>
      <title>Migrating oauth1 to oauth2 using token_from_oauth1</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Migrating-oauth1-to-oauth2-using-token-from-oauth1/m-p/153645#M5131</link>
      <description>&lt;P&gt;I have been using Dropbox via the Sharpbox toolkit for a while.&amp;nbsp; It's based on oAuth1, so I have a database full of oAuth1 access tokens for my users.&lt;/P&gt;
&lt;P&gt;I'd like to convert to the new Dropbox API, which is based on oAuth2.&amp;nbsp; I see that there is a "&lt;A href="https://www.dropbox.com/developers/core/docs#oa2-from-oa1" target="_blank" rel="nofollow noreferrer"&gt;token_from_oauth1&lt;/A&gt;" endpoint in Dropbox's v1 spec, but I'm not figuring out how to successfully connect to this endpoint to upgrade a user's existing token.&amp;nbsp; (I'm using C#/.NET).&lt;/P&gt;
&lt;P&gt;Can anybody point me to some sample code that shows how to create a properly authenticated call to perform this operation?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:38:30 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Migrating-oauth1-to-oauth2-using-token-from-oauth1/m-p/153645#M5131</guid>
      <dc:creator>Eric B.37</dc:creator>
      <dc:date>2019-05-29T09:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating oauth1 to oauth2 using token_from_oauth1</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Migrating-oauth1-to-oauth2-using-token-from-oauth1/m-p/153646#M5132</link>
      <description>&lt;P&gt;[Cross-linking for reference:&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/33700332/dropbox-migrating-oauth1-to-oauth2-using-token-from-oauth1" rel="nofollow noreferrer"&gt;https://stackoverflow.com/questions/33700332/dropbox-migrating-oauth1-to-oauth2-using-token-from-oauth1&lt;/A&gt; ]&lt;/P&gt;
&lt;P&gt;This call needs to be signed using OAuth 1, so this blog post, specifically step 4, maybe be helpful:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.dropbox.com/developers/2012/07/using-oauth-1-0-with-the-plaintext-signature-method/" rel="nofollow noreferrer"&gt;https://blogs.dropbox.com/developers/2012/07/using-oauth-1-0-with-the-plaintext-signature-method/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In short, you need to supply all of the parameters shown there. (It's also possible to send them in URL parameters.)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The actual spec is here if you want:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://oauth.net/core/1.0/" rel="nofollow noreferrer"&gt;http://oauth.net/core/1.0/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Nov 2015 03:37:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Migrating-oauth1-to-oauth2-using-token-from-oauth1/m-p/153646#M5132</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-11-14T03:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating oauth1 to oauth2 using token_from_oauth1</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Migrating-oauth1-to-oauth2-using-token-from-oauth1/m-p/153647#M5133</link>
      <description>&lt;P&gt;here's a library for Twitter oAuth 1.0 (see &lt;A href="http://www.voiceoftech.com/swhitley/?p=681" rel="nofollow noreferrer"&gt;http://www.voiceoftech.com/swhitley/?p=681&lt;/A&gt;) that actually makes it easy to make oAuth 1.0 authenticated calls. So the code below seems to work pretty well for me:&lt;/P&gt;
&lt;PRE class="lang-cs prettyprint prettyprinted"&gt;&lt;CODE&gt;&lt;SPAN class="pln"&gt;    oAuthTwitter oat &lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt; &lt;SPAN class="kwd"&gt;new&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; oAuthTwitter&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;();&lt;/SPAN&gt;&lt;BR /&gt;    &lt;SPAN class="pln"&gt;oat&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="typ"&gt;Token&lt;/SPAN&gt; &lt;SPAN class="pun"&gt;=&lt;/SPAN&gt; &lt;SPAN class="pun"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;oauth &lt;/SPAN&gt;&lt;SPAN class="lit"&gt;1.0&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; token&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;&amp;gt;;&lt;BR /&gt;    &lt;/SPAN&gt;&lt;SPAN class="pln"&gt;oat&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="typ"&gt;TokenSecret&lt;/SPAN&gt; &lt;SPAN class="pun"&gt;=&lt;/SPAN&gt; &lt;SPAN class="pun"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;oauth &lt;/SPAN&gt;&lt;SPAN class="lit"&gt;1.0&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; secret&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;&amp;gt;;&lt;BR /&gt;    &lt;/SPAN&gt;&lt;SPAN class="pln"&gt;oat&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="typ"&gt;ConsumerKey&lt;/SPAN&gt; &lt;SPAN class="pun"&gt;=&lt;/SPAN&gt; &lt;SPAN class="pun"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;application key&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;&amp;gt;;&lt;BR /&gt;    &lt;/SPAN&gt;&lt;SPAN class="pln"&gt;oat&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="typ"&gt;ConsumerSecret&lt;/SPAN&gt; &lt;SPAN class="pun"&gt;=&lt;/SPAN&gt; &lt;SPAN class="pun"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;application secret&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;&amp;gt;;&lt;/SPAN&gt; &lt;BR /&gt;    &lt;SPAN class="kwd"&gt;string&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; resultJSON &lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; oat&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;oAuthWebRequest&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;oAuthTwitter&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="typ"&gt;Method&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;POST&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;,&lt;/SPAN&gt; &lt;SPAN class="str"&gt;"https://api.dropboxapi.com/1/oauth2/token_from_oauth1"&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;,&lt;/SPAN&gt; &lt;SPAN class="kwd"&gt;null&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;);&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 15 Nov 2015 05:25:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Migrating-oauth1-to-oauth2-using-token-from-oauth1/m-p/153647#M5133</guid>
      <dc:creator>Eric B.37</dc:creator>
      <dc:date>2015-11-15T05:25:16Z</dc:date>
    </item>
  </channel>
</rss>

