<?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 javascript single page oauth in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/javascript-single-page-oauth/m-p/228946#M12408</link>
    <description>&lt;P&gt;I have a working application using the python sdk that has a flask server as a backend. And that works I am good with the oauth flow and the application does what it is supposed to do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I started playing with Javascript sdk looking for a way to do oauth without a backing server (aka single page app or basically all in the client).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is that possible? It looks like you always need a spot to redirect to with the Javascript sdk.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:21:20 GMT</pubDate>
    <dc:creator>tonetheman</dc:creator>
    <dc:date>2019-05-29T09:21:20Z</dc:date>
    <item>
      <title>javascript single page oauth</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/javascript-single-page-oauth/m-p/228946#M12408</link>
      <description>&lt;P&gt;I have a working application using the python sdk that has a flask server as a backend. And that works I am good with the oauth flow and the application does what it is supposed to do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I started playing with Javascript sdk looking for a way to do oauth without a backing server (aka single page app or basically all in the client).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is that possible? It looks like you always need a spot to redirect to with the Javascript sdk.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:21:20 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/javascript-single-page-oauth/m-p/228946#M12408</guid>
      <dc:creator>tonetheman</dc:creator>
      <dc:date>2019-05-29T09:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: javascript single page oauth</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/javascript-single-page-oauth/m-p/228981#M12419</link>
      <description>&lt;P&gt;For reference, this JavaScript SDK auth example shows how to initiate the app authorization flow:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-js/blob/master/examples/javascript/auth/index.html#L89" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-js/blob/master/examples/javascript/auth/index.html#L89&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The parameter passed to&amp;nbsp;&lt;SPAN&gt;getAuthenticationUrl should be where the user should be sent back to after authorizing your app.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In your case, where is your JavaScript single page app hosted? I.e., what's the URL in the browser when you're on the page? You may be able to use that as a redirect URI.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2017 21:11:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/javascript-single-page-oauth/m-p/228981#M12419</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-06-23T21:11:44Z</dc:date>
    </item>
  </channel>
</rss>

