<?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 OAuth2 response in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OAuth2-response/m-p/430173#M22820</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;when we access the auth 2 authorization interface at:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://api.dropbox.com/1/oauth2/authorize?response_type=code&amp;amp;client_id=zzzzzzz&amp;amp;redirect_uri=https://localhost:4433/Test" target="_blank" rel="noopener"&gt;https://api.dropbox.com/1/oauth2/authorize?response_type=code&amp;amp;client_id=zzzzzzz&amp;amp;redirect_uri=https://localhost:4433/Test&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If the authentication is successful and user has accepted that my app can access their files,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;it then invoke&amp;nbsp;https://localhost:4433/Test with the Code parameter and token info.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;From there, we do not know which user has just accepted our app.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Is there anyway to have drop box invoke&amp;nbsp;https://localhost:4433 and add the user id or anything to identify the user?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let me know!&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jun 2020 06:05:23 GMT</pubDate>
    <dc:creator>IQCloud</dc:creator>
    <dc:date>2020-06-17T06:05:23Z</dc:date>
    <item>
      <title>OAuth2 response</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OAuth2-response/m-p/430173#M22820</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;when we access the auth 2 authorization interface at:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://api.dropbox.com/1/oauth2/authorize?response_type=code&amp;amp;client_id=zzzzzzz&amp;amp;redirect_uri=https://localhost:4433/Test" target="_blank" rel="noopener"&gt;https://api.dropbox.com/1/oauth2/authorize?response_type=code&amp;amp;client_id=zzzzzzz&amp;amp;redirect_uri=https://localhost:4433/Test&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If the authentication is successful and user has accepted that my app can access their files,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;it then invoke&amp;nbsp;https://localhost:4433/Test with the Code parameter and token info.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;From there, we do not know which user has just accepted our app.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Is there anyway to have drop box invoke&amp;nbsp;https://localhost:4433 and add the user id or anything to identify the user?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let me know!&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2020 06:05:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OAuth2-response/m-p/430173#M22820</guid>
      <dc:creator>IQCloud</dc:creator>
      <dc:date>2020-06-17T06:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: OAuth2 response</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OAuth2-response/m-p/430205#M22821</link>
      <description>&lt;P&gt;You're using the "code" flow here, which means that you'll get an "authorization code" back on your redirect URI. You should then exchange that authorization code for an "access token" by calling &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#oauth2-token" target="_self"&gt;/oauth2/token&lt;/A&gt;. The&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#oauth2-token" target="_self"&gt;/oauth2/token&lt;/A&gt; endpoint's response will include the 'account_id' for the user account that authorized the app. You can also call&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#users-get_current_account" target="_self"&gt;/2/users/get_current_account&lt;/A&gt;&amp;nbsp;with an access token to check what account the access token is for.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, note that per &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#oauth2-authorize" target="_self"&gt;the documentation&lt;/A&gt;, the app authorization page should be accessed at&amp;nbsp;&lt;A href="https://www.dropbox.com/oauth2/authorize" target="_blank"&gt;https://www.dropbox.com/oauth2/authorize&lt;/A&gt; (not on&amp;nbsp;api.dropbox.com).&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 14:41:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OAuth2-response/m-p/430205#M22821</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-06-16T14:41:47Z</dc:date>
    </item>
  </channel>
</rss>

