<?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: OAuth2 with IWebBrowser2 in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OAuth2-with-IWebBrowser2/m-p/134746#M4047</link>
    <description>&lt;P&gt;Hi Stephen. Thank you for response.&lt;/P&gt;
&lt;P&gt;I read about this way but ideally my app would connect to Dropbox without need of user's copy-paste.&lt;/P&gt;
&lt;P&gt;Anyway, I managed to beat the IWebBrowser2 to work with Dropbox OAuth2 flow. Eventually, for some URIs it gives correct address and &lt;A href="https://www.dropbox.com/1/oauth2/redirect_receiver" rel="nofollow noreferrer"&gt;https://www.dropbox.com/1/oauth2/redirect_receiver&lt;/A&gt; appeared to be one of them.&lt;/P&gt;</description>
    <pubDate>Wed, 10 Feb 2016 02:18:56 GMT</pubDate>
    <dc:creator>Andrii M.</dc:creator>
    <dc:date>2016-02-10T02:18:56Z</dc:date>
    <item>
      <title>OAuth2 with IWebBrowser2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OAuth2-with-IWebBrowser2/m-p/134744#M4045</link>
      <description>&lt;P&gt;Hi. I am doing some app in C++ using IWebBrowser2 for authenticating user. The problem is that this browser component does not allow catching redirects so in the end of the either code or token flow the component just shows "cannot display the page &amp;lt;my redirect uri&amp;gt;"&lt;/P&gt;
&lt;P&gt;For such stupid components like IWebBrowser2 Google Docs API, for example, allow returning of some special web page (instead of redirecting) with stable format so the app can parse it and get the auth code.&lt;/P&gt;
&lt;P&gt;Please advice me if using code flow with no redirect uri is what I need? I mean, if the format of the returned page is stable so I can rely on it and parse it to find the auth code?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:36:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OAuth2-with-IWebBrowser2/m-p/134744#M4045</guid>
      <dc:creator>Andrii M.</dc:creator>
      <dc:date>2019-05-29T09:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: OAuth2 with IWebBrowser2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OAuth2-with-IWebBrowser2/m-p/134745#M4046</link>
      <description>&lt;P&gt;Hi Andrii, you might try simply&amp;nbsp;hitting the&amp;nbsp;&lt;A href="https://www.dropbox.com/1/oauth2/authorize" rel="nofollow noreferrer"&gt;https://www.dropbox.com/1/oauth2/authorize&lt;/A&gt; endpoint without without passing the 'redirect_uri' web parameter.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The desired url might look something like this:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/1/oauth2/authorize?client_id=&amp;lt;CLIENT" rel="nofollow noreferrer"&gt;https://www.dropbox.com/1/oauth2/authorize?client_id=&amp;lt;CLIENT&lt;/A&gt; APP KEY&amp;gt;&amp;amp;response_type=code&lt;/P&gt;
&lt;P&gt;This will return a response with an&amp;nbsp;OAuth code embedded in the page content without triggering a redirect.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With regard to your question about page stability, we make no guarantees that the html content that we return will not change. Therefore, we recommend that you do not resort to parsing the response page to retrieve the OAuth token.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 01:43:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OAuth2-with-IWebBrowser2/m-p/134745#M4046</guid>
      <dc:creator>Stephen C.14</dc:creator>
      <dc:date>2016-02-10T01:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: OAuth2 with IWebBrowser2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OAuth2-with-IWebBrowser2/m-p/134746#M4047</link>
      <description>&lt;P&gt;Hi Stephen. Thank you for response.&lt;/P&gt;
&lt;P&gt;I read about this way but ideally my app would connect to Dropbox without need of user's copy-paste.&lt;/P&gt;
&lt;P&gt;Anyway, I managed to beat the IWebBrowser2 to work with Dropbox OAuth2 flow. Eventually, for some URIs it gives correct address and &lt;A href="https://www.dropbox.com/1/oauth2/redirect_receiver" rel="nofollow noreferrer"&gt;https://www.dropbox.com/1/oauth2/redirect_receiver&lt;/A&gt; appeared to be one of them.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 02:18:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OAuth2-with-IWebBrowser2/m-p/134746#M4047</guid>
      <dc:creator>Andrii M.</dc:creator>
      <dc:date>2016-02-10T02:18:56Z</dc:date>
    </item>
  </channel>
</rss>

