<?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 http authentication, how to have browser show success? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OAuth2-http-authentication-how-to-have-browser-show-success/m-p/213640#M10875</link>
    <description>&lt;P&gt;In our OAuth1, after the user clicked 'Allow' in the browser, the user would get a 'success' message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In our OAuth2, the 'Allow' page in the browser just sits there (even though the app has authenticated and gotten the token). Eventually it times out and says:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Hmm, we can't reach this page."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems to me that somehow that browser should get updated to say 'success'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've implemented a localhost server on the specified port and it is getting the returned authorization code. Do I need to post something back to let the browser know everything is fat, dumb and happy? If so, what?&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:24:21 GMT</pubDate>
    <dc:creator>Scott_M</dc:creator>
    <dc:date>2019-05-29T09:24:21Z</dc:date>
    <item>
      <title>OAuth2 http authentication, how to have browser show success?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OAuth2-http-authentication-how-to-have-browser-show-success/m-p/213640#M10875</link>
      <description>&lt;P&gt;In our OAuth1, after the user clicked 'Allow' in the browser, the user would get a 'success' message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In our OAuth2, the 'Allow' page in the browser just sits there (even though the app has authenticated and gotten the token). Eventually it times out and says:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Hmm, we can't reach this page."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems to me that somehow that browser should get updated to say 'success'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've implemented a localhost server on the specified port and it is getting the returned authorization code. Do I need to post something back to let the browser know everything is fat, dumb and happy? If so, what?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:24:21 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OAuth2-http-authentication-how-to-have-browser-show-success/m-p/213640#M10875</guid>
      <dc:creator>Scott_M</dc:creator>
      <dc:date>2019-05-29T09:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: OAuth2 http authentication, how to have browser show success?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OAuth2-http-authentication-how-to-have-browser-show-success/m-p/213655#M10876</link>
      <description>&lt;P&gt;The OAuth 1 and OAuth 2 flows do work a bit differently. With the OAuth 2 "code" flow, which it sounds like you're using, the user is sent to the specified redirect URI after they authorize your app. That's how the app receives the authorization code. Often, this is just an Internet-hosted web page, so the user sees whatever web page that is.&lt;BR /&gt;&lt;BR /&gt;In your case though, it sounds like you're using a localhost server just to receive the redirect, and there's no page to display. If that's the issue, you can have your localhost server itself respond with a simple success page to display at that point.&lt;BR /&gt;&lt;BR /&gt;Feel free to post a screenshot of the issue to make sure I understand what you're seeing though.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2017 17:52:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OAuth2-http-authentication-how-to-have-browser-show-success/m-p/213655#M10876</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-03-28T17:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: OAuth2 http authentication, how to have browser show success?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OAuth2-http-authentication-how-to-have-browser-show-success/m-p/213670#M10877</link>
      <description>&lt;P&gt;&lt;A href="http://tinypic.com/view.php?pic=vzeywy&amp;amp;s=9" target="_self"&gt;http://tinypic.com/view.php?pic=vzeywy&amp;amp;s=9&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's a link to a screen shot of what I get.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2017 18:33:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OAuth2-http-authentication-how-to-have-browser-show-success/m-p/213670#M10877</guid>
      <dc:creator>Scott_M</dc:creator>
      <dc:date>2017-03-28T18:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: OAuth2 http authentication, how to have browser show success?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OAuth2-http-authentication-how-to-have-browser-show-success/m-p/213686#M10878</link>
      <description>Thanks! That's helpful, and it's what I expected. In this case, the best solution would be to configure your localhost server to respond to that GET request with a simple HTML success page of your liking.</description>
      <pubDate>Tue, 28 Mar 2017 18:47:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OAuth2-http-authentication-how-to-have-browser-show-success/m-p/213686#M10878</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-03-28T18:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: OAuth2 http authentication, how to have browser show success?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OAuth2-http-authentication-how-to-have-browser-show-success/m-p/213700#M10879</link>
      <description>&lt;P&gt;OK. It might be nice if there was a way to get the browser to display a success response (as in OAuth1) where the success message had a Dropbox look and feel to it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I have it doing something semi-ugly now. I'll see if I get someone to put together something nice looking...&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2017 19:18:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OAuth2-http-authentication-how-to-have-browser-show-success/m-p/213700#M10879</guid>
      <dc:creator>Scott_M</dc:creator>
      <dc:date>2017-03-28T19:18:07Z</dc:date>
    </item>
  </channel>
</rss>

