<?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 get OAuth2 access token from OAuth1 token and secret with API v2 in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-OAuth2-access-token-from-OAuth1-token-and-secret-with/m-p/496877#M24744</link>
    <description>&lt;PRE&gt;curl -X POST&amp;nbsp;https://api.dropboxapi.com/2/auth/token/from_oauth1&amp;nbsp;\&amp;nbsp;
&amp;nbsp; &amp;nbsp; -u "APP_KEY:APP_SECRET" \&amp;nbsp;
&amp;nbsp; &amp;nbsp; --header "Content-Type: application/json" \&amp;nbsp;
&amp;nbsp; &amp;nbsp; --data "{\"oauth1_token\": \"OAUTH1_TOKEN_KEY\",\"oauth1_token_secret\": \"OAUTH1_TOKEN_SECRET\"}"&lt;/PRE&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;can anyone help me how to get the oauth1_token and oauth1_token_secret because when i hit this api&amp;nbsp; it&amp;nbsp; given me this error&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"error_summary"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"invalid_oauth1_token_info/."&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"error"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;".tag"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"invalid_oauth1_token_info"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Feb 2021 15:09:02 GMT</pubDate>
    <dc:creator>rishutiwari</dc:creator>
    <dc:date>2021-02-16T15:09:02Z</dc:date>
    <item>
      <title>How to get OAuth2 access token from OAuth1 token and secret with API v2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-OAuth2-access-token-from-OAuth1-token-and-secret-with/m-p/227327#M12366</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While creating an OAuth2 access token from OAuth1, I am getting error saying&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Error in call to API function "auth/token/from_oauth1": Invalid value in HTTP header "Authorization": "Bearer lZRzKu_9W****BSRr9Ul*****1inv****XSNQmj"%&lt;/PRE&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s2"&gt;Referred Documentation: &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#auth-token-from_oauth1&amp;nbsp;" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#auth-token-from_oauth1&amp;nbsp;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;Ran command as:&lt;/P&gt;
&lt;PRE&gt;curl -X POST https://api.dropboxapi.com/2/auth/token/from_oauth1 \
&amp;nbsp; &amp;nbsp; --header "Authorization: Bearer&amp;nbsp;lZRzKu_9W****BSRr9Ul*****1inv****XSNQmj" \
&amp;nbsp; &amp;nbsp; --header "Content-Type: application/json" \
&amp;nbsp; &amp;nbsp; --data '{"oauth1_token": "u1a8mamjaz0bzwqn","oauth1_token_secret": "ai******73di"}'&lt;/PRE&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:21:29 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-OAuth2-access-token-from-OAuth1-token-and-secret-with/m-p/227327#M12366</guid>
      <dc:creator>saurabh6790</dc:creator>
      <dc:date>2019-05-29T09:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to get OAuth2 access token from OAuth1 token and secret with API v2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-OAuth2-access-token-from-OAuth1-token-and-secret-with/m-p/227538#M12371</link>
      <description>&lt;P&gt;Apologies for the confusion. The curl example in the documentation and API Explorer for /2/auth/token/from_oauth1 are unfortunately incorrect. I'll let the team know to fix that.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;That endpoint actually uses app authentication (&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.dropbox.com/developers/reference/auth-types#app" target="_blank" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers/reference/auth-types#app&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;), so a bearer access token isn't necessary. This is what the curl example should look like:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;curl -X POST&amp;nbsp;https://api.dropboxapi.com/2/auth/token/from_oauth1&amp;nbsp;\&amp;nbsp;
&amp;nbsp; &amp;nbsp; -u "APP_KEY:APP_SECRET" \&amp;nbsp;
&amp;nbsp; &amp;nbsp; --header "Content-Type: application/json" \&amp;nbsp;
&amp;nbsp; &amp;nbsp; --data "{\"oauth1_token\": \"OAUTH1_TOKEN_KEY\",\"oauth1_token_secret\": \"OAUTH1_TOKEN_SECRET\"}"&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Jun 2017 18:25:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-OAuth2-access-token-from-OAuth1-token-and-secret-with/m-p/227538#M12371</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-06-20T18:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to get OAuth2 access token from OAuth1 token and secret with API v2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-OAuth2-access-token-from-OAuth1-token-and-secret-with/m-p/406647#M22108</link>
      <description>&lt;P&gt;i couldn't get token in both of the ways .&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/reference/auth-types#app" target="_blank"&gt;https://www.dropbox.com/developers/reference/auth-types#app&lt;/A&gt;&amp;nbsp;- tried&amp;nbsp; . not working . it throws error like v1_retried.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#auth-token-from_oauth1" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#auth-token-from_oauth1&lt;/A&gt;&amp;nbsp;- it always throws invalid client info .&amp;nbsp; &amp;nbsp;i need to get access token using typescript on server side . can you provide&amp;nbsp;&lt;/P&gt;&lt;P&gt;solution&amp;nbsp; for this issue ?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2020 11:49:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-OAuth2-access-token-from-OAuth1-token-and-secret-with/m-p/406647#M22108</guid>
      <dc:creator>jayanthi123</dc:creator>
      <dc:date>2020-04-03T11:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to get OAuth2 access token from OAuth1 token and secret with API v2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-OAuth2-access-token-from-OAuth1-token-and-secret-with/m-p/406708#M22110</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1281871"&gt;@jayanthi123&lt;/a&gt;&amp;nbsp;The "OAuth 1" functionality discussed in this thread is only for converting pre-existing old OAuth 1 access tokens to OAuth 2. If you're just starting now, you wouldn't have any OAuth 1 tokens and so shouldn't use that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instead, to get an OAuth 2 access token for the end-user, you should implement and use the OAuth app authorization flow. You can find information on that in &lt;A href="https://www.dropbox.com/developers/reference/oauth-guide" target="_self"&gt;the Dropbox OAuth Guide&lt;/A&gt;, and &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#authorization" target="_self"&gt;the Dropbox OAuth 2 documentation&lt;/A&gt;. Specifically, that involves the user of the '&lt;A href="http://www.dropbox.com/oauth2/authorize" target="_blank"&gt;www.dropbox.com/oauth2/authorize&lt;/A&gt;' page, &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#oauth2-authorize" target="_self"&gt;documented here&lt;/A&gt;, and possibly the&amp;nbsp;/oauth2/token endpoint, &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#oauth2-token" target="_self"&gt;documented here&lt;/A&gt;, depending on which OAuth flow you're using.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also highly&amp;nbsp;recommend using one of &lt;A href="https://www.dropbox.com/developers/documentation" target="_self"&gt;the official SDKs&lt;/A&gt;, if possible, as they'll do much of the work for you.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2020 14:56:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-OAuth2-access-token-from-OAuth1-token-and-secret-with/m-p/406708#M22110</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-04-03T14:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to get OAuth2 access token from OAuth1 token and secret with API v2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-OAuth2-access-token-from-OAuth1-token-and-secret-with/m-p/496877#M24744</link>
      <description>&lt;PRE&gt;curl -X POST&amp;nbsp;https://api.dropboxapi.com/2/auth/token/from_oauth1&amp;nbsp;\&amp;nbsp;
&amp;nbsp; &amp;nbsp; -u "APP_KEY:APP_SECRET" \&amp;nbsp;
&amp;nbsp; &amp;nbsp; --header "Content-Type: application/json" \&amp;nbsp;
&amp;nbsp; &amp;nbsp; --data "{\"oauth1_token\": \"OAUTH1_TOKEN_KEY\",\"oauth1_token_secret\": \"OAUTH1_TOKEN_SECRET\"}"&lt;/PRE&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;can anyone help me how to get the oauth1_token and oauth1_token_secret because when i hit this api&amp;nbsp; it&amp;nbsp; given me this error&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"error_summary"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"invalid_oauth1_token_info/."&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"error"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;".tag"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"invalid_oauth1_token_info"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 15:09:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-OAuth2-access-token-from-OAuth1-token-and-secret-with/m-p/496877#M24744</guid>
      <dc:creator>rishutiwari</dc:creator>
      <dc:date>2021-02-16T15:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to get OAuth2 access token from OAuth1 token and secret with API v2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-OAuth2-access-token-from-OAuth1-token-and-secret-with/m-p/496908#M24745</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1412748"&gt;@rishutiwari&lt;/a&gt;&amp;nbsp;You should only use the&amp;nbsp;/2/auth/token/from_oauth1 endpoint if you have old OAuth 1 access token keys and secrets stored, e.g., retrieved using OAuth 1 for API v1, which is now retired. If you don't already have any of those to convert, you shouldn't use this endpoint. Please refer to &lt;A href="https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-OAuth2-access-token-from-OAuth1-token-and-secret-with/m-p/406708/highlight/true#M22110" target="_self"&gt;my earlier comment&lt;/A&gt; on this thread for more information.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 16:34:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-OAuth2-access-token-from-OAuth1-token-and-secret-with/m-p/496908#M24745</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-02-16T16:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to get OAuth2 access token from OAuth1 token and secret with API v2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-OAuth2-access-token-from-OAuth1-token-and-secret-with/m-p/497109#M24747</link>
      <description>&lt;P&gt;ok thanks,&lt;/P&gt;&lt;P&gt;Could you help me with this endpoint :&lt;/P&gt;&lt;PRE&gt;curl https://api.dropbox.com/oauth2/token \
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-d code=&amp;lt;AUTHORIZATION_CODE&amp;gt; \
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-d grant_type=authorization_code \
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-d redirect_uri=&amp;lt;REDIRECT_URI&amp;gt; \
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-u &amp;lt;APP_KEY&amp;gt;:&amp;lt;APP_SECRET&amp;gt;&lt;/PRE&gt;&lt;P&gt;what we given in the &amp;lt;Authorization code&amp;gt;&lt;/P&gt;&lt;P&gt;and what we keep in the grant_type.because i couldn't find out what those parameter to be set and got the proper response.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 05:51:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-OAuth2-access-token-from-OAuth1-token-and-secret-with/m-p/497109#M24747</guid>
      <dc:creator>rishutiwari</dc:creator>
      <dc:date>2021-02-17T05:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to get OAuth2 access token from OAuth1 token and secret with API v2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-OAuth2-access-token-from-OAuth1-token-and-secret-with/m-p/497129#M24749</link>
      <description>&lt;P&gt;I resolved it..Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 08:30:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-OAuth2-access-token-from-OAuth1-token-and-secret-with/m-p/497129#M24749</guid>
      <dc:creator>rishutiwari</dc:creator>
      <dc:date>2021-02-17T08:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to get OAuth2 access token from OAuth1 token and secret with API v2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-OAuth2-access-token-from-OAuth1-token-and-secret-with/m-p/502963#M24895</link>
      <description>Hi rishutiwari, Glad to hear about U resolved it. Could you please tell me how to deal with the 4XX error while using new end point "&lt;A href="https://api.dropboxapi.com/oauth2/token" target="_blank"&gt;https://api.dropboxapi.com/oauth2/token&lt;/A&gt;". That would be really helpful. Thank you.</description>
      <pubDate>Tue, 09 Mar 2021 03:38:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-OAuth2-access-token-from-OAuth1-token-and-secret-with/m-p/502963#M24895</guid>
      <dc:creator>l0k1</dc:creator>
      <dc:date>2021-03-09T03:38:56Z</dc:date>
    </item>
  </channel>
</rss>

