<?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/authorize never ends - Windows, VS2019, native C++, desktop app, CEF in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/oauth2-authorize-never-ends-Windows-VS2019-native-C-desktop-app/m-p/489492#M24505</link>
    <description>&lt;P&gt;By "CEF", I believe you're referring to&amp;nbsp;&lt;A href="https://github.com/chromiumembedded/cef" target="_self"&gt;Chromium Embedded Framework&lt;/A&gt;. Please note that this is not officially supported for processing the&amp;nbsp;Dropbox app authorization flow, which should &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#oauth2-authorize" target="_self"&gt;only be processed in the user's system browser&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It sounds like you also saw this issue in Edge itself though, which is supported. I just tried the /oauth2/authorize URL you shared, plugging in a valid client ID, redirect URI, and state value, and it worked in that same version of Edge for me though.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're still seeing this issue in Edge, we'll be happy to look into it, but we'll need a way to reproduce the issue. Can you share the steps and a full URL where we can reproduce it? Feel free to &lt;A href="https://www.dropbox.com/developers/contact" target="_self"&gt;open an API ticket&lt;/A&gt; if you'd prefer to share privately. Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jan 2021 15:55:41 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2021-01-22T15:55:41Z</dc:date>
    <item>
      <title>/oauth2/authorize never ends - Windows, VS2019, native C++, desktop app, CEF</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/oauth2-authorize-never-ends-Windows-VS2019-native-C-desktop-app/m-p/489462#M24501</link>
      <description>&lt;P&gt;As a software developer company, we would like to give Dropbox feature to our native C++ MFC desktop app.&amp;nbsp;&lt;BR /&gt;As we can't use the IE browser anymore, we have to look for another browser solution.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;We tried to use CEF, and we could succesfully integrate it into our app.&lt;/P&gt;
&lt;P&gt;Because the CEF needs so many exe instances and our desktop exe can't handle this behaviour, we use a small proxy exe to work with CEF.&lt;BR /&gt;We implemented the "code flow" authorization.&lt;BR /&gt;We use this kind of url:&lt;BR /&gt;&lt;A target="_blank" rel="noopener"&gt;https://www.dropbox.com/oauth2/authorize?client_id=&amp;lt;our_client_id&amp;gt;&amp;amp;force_reauthentication=false&amp;amp;locale=en_GB&amp;amp;redirect_uri=https%3A%2F%2F&amp;lt;our_redirect_uri&amp;gt;&amp;amp;response_type=code&amp;amp;state=%7B&amp;lt;our_state&amp;gt;%7D&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Of course, "our_client_id", "our_redirect_uri" and "our_state" has valid values.&lt;/P&gt;
&lt;P&gt;Unfortunatelly this authentication worklow sometimes works, but simetimes doesn't.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When not then the tipical problem is: when the small proxy exe shows the Dropbox's login screen, and we enter a valid email and password pair, and then try to sing-in, the cursor became "busy", and will never ends, so the browser won't ever redirected to the given url.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The interesting is that there are machines where this workflows works very well, but there are other machines where is doesn't.&lt;/P&gt;
&lt;P&gt;"Doesn't work": I mean that the busy cursor remains active, and we never get redirected to the given redirect_uri (neither anywhere else).&lt;/P&gt;
&lt;P&gt;Machines means: Win10x32, Win10x64.&lt;/P&gt;
&lt;P&gt;Our small proxy exe is based on the CEF's cefsimple app, but we added some extra codes because we need to communicate backwards our desktop exe.&lt;BR /&gt;We tried the original "cefsimple" app also, and we experienced that it also can't redirect.&lt;/P&gt;
&lt;P&gt;Then we tested with the Microsoft's Edge on the very same machine, so the Edge also suffer from this "endless process" problem.&lt;/P&gt;
&lt;P&gt;The Edge version is: "88.0.705.50 (Official build)(64-bit)" - actually the most up-to-date version.&lt;/P&gt;
&lt;P&gt;Is it possible that this is bug in the Dropbox?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 14:45:01 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/oauth2-authorize-never-ends-Windows-VS2019-native-C-desktop-app/m-p/489462#M24501</guid>
      <dc:creator>Rere13852</dc:creator>
      <dc:date>2021-01-22T14:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: /oauth2/authorize never ends - Windows, VS2019, native C++, desktop app, CEF</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/oauth2-authorize-never-ends-Windows-VS2019-native-C-desktop-app/m-p/489492#M24505</link>
      <description>&lt;P&gt;By "CEF", I believe you're referring to&amp;nbsp;&lt;A href="https://github.com/chromiumembedded/cef" target="_self"&gt;Chromium Embedded Framework&lt;/A&gt;. Please note that this is not officially supported for processing the&amp;nbsp;Dropbox app authorization flow, which should &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#oauth2-authorize" target="_self"&gt;only be processed in the user's system browser&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It sounds like you also saw this issue in Edge itself though, which is supported. I just tried the /oauth2/authorize URL you shared, plugging in a valid client ID, redirect URI, and state value, and it worked in that same version of Edge for me though.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're still seeing this issue in Edge, we'll be happy to look into it, but we'll need a way to reproduce the issue. Can you share the steps and a full URL where we can reproduce it? Feel free to &lt;A href="https://www.dropbox.com/developers/contact" target="_self"&gt;open an API ticket&lt;/A&gt; if you'd prefer to share privately. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 15:55:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/oauth2-authorize-never-ends-Windows-VS2019-native-C-desktop-app/m-p/489492#M24505</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-01-22T15:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: /oauth2/authorize never ends - Windows, VS2019, native C++, desktop app, CEF</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/oauth2-authorize-never-ends-Windows-VS2019-native-C-desktop-app/m-p/490811#M24550</link>
      <description>&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;Thanks for the answer, I opened an API ticket with the very same title on it, the discussion continues there.&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;- Gyorgy&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 07:46:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/oauth2-authorize-never-ends-Windows-VS2019-native-C-desktop-app/m-p/490811#M24550</guid>
      <dc:creator>Rere13852</dc:creator>
      <dc:date>2021-01-27T07:46:11Z</dc:date>
    </item>
  </channel>
</rss>

