<?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: Wild Card redirect uri in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Wild-Card-redirect-uri/m-p/20393#M672</link>
    <description>&lt;P&gt;is it possible to pass a redirect_uri with arbitrary path as long as the base_uri is the same?&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Example&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;registered uri: &lt;A href="https://somesub.myapp.com/auth/dropbox" rel="nofollow noreferrer"&gt;https://somesub.myapp.com/auth/dropbox&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;sent uri: &lt;A href="https://somesub.myapp.com/auth/dropbox/user/111" rel="nofollow noreferrer"&gt;https://somesub.myapp.com/auth/dropbox/user/111&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 27 Feb 2016 04:20:47 GMT</pubDate>
    <dc:creator>Jimmy C.8</dc:creator>
    <dc:date>2016-02-27T04:20:47Z</dc:date>
    <item>
      <title>Wild Card redirect uri</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Wild-Card-redirect-uri/m-p/20388#M667</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Is it possible to use a wild card in a redirect_uri?&lt;/P&gt;

&lt;P&gt;We're developing an app that can have multiple sub domains e.g.&lt;/P&gt;

&lt;P&gt;User 1 can have a url:&lt;BR /&gt;
&lt;A href="https://testuser1.example.com/app" rel="nofollow noreferrer" target="_blank"&gt;https://testuser1.example.com/app&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;User 2 can have a url:&lt;BR /&gt;
&lt;A href="https://testuser2.example.com/app" rel="nofollow noreferrer" target="_blank"&gt;https://testuser2.example.com/app&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Is it possible for a redirect_uri to be allowed form https://*.example.com/app?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:46:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Wild-Card-redirect-uri/m-p/20388#M667</guid>
      <dc:creator>Chris J.2</dc:creator>
      <dc:date>2019-05-29T09:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Wild Card redirect uri</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Wild-Card-redirect-uri/m-p/20389#M668</link>
      <description>&lt;P&gt;This isn't currently possible, as all OAuth 2 redirect URIs are required to be pre-registered as a matter of security. I'll be sure to pass this along as feedback though.&lt;/P&gt;

&lt;P&gt;As mentioned though, one thing you may be able to do instead is to use one static redirect URI but encode the necessary information in the 'state' parameter, and decode it as necessary after the redirect back to your app, to handle it as necessary:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/core/docs#oa2-authorize" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers/core/docs#oa2-authorize&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Alternatively, you can use OAuth 1, which doesn't require pre-registered redirect URIs.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2015 03:34:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Wild-Card-redirect-uri/m-p/20389#M668</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-01-07T03:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Wild Card redirect uri</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Wild-Card-redirect-uri/m-p/20390#M669</link>
      <description>&lt;P&gt;Upvoting! This would be very helpful in resolving a current problem I'm dealing with as well.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2015 10:36:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Wild-Card-redirect-uri/m-p/20390#M669</guid>
      <dc:creator>Sasha P.1</dc:creator>
      <dc:date>2015-07-20T10:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Wild Card redirect uri</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Wild-Card-redirect-uri/m-p/20391#M670</link>
      <description>&lt;P&gt;@Gregory there is no way to be able to call dropbox API to get new consumer id/key during deploy state? I really think is not possible because how to secure such API that deliver access keys &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt; But I prefer to ask &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2015 20:25:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Wild-Card-redirect-uri/m-p/20391#M670</guid>
      <dc:creator>Thibaud L.</dc:creator>
      <dc:date>2015-08-21T20:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Wild Card redirect uri</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Wild-Card-redirect-uri/m-p/20392#M671</link>
      <description>&lt;P&gt;Thibaud, no, there currently isn't a way to programmatically register new apps,&amp;nbsp;but I'll be sure to pass this along as a request.&lt;/P&gt;
&lt;P&gt;(Also, your question doesn't really seem related to this thread, so for future reference, in cases like this, please be sure to create a new thread for your question.)&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2015 22:20:53 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Wild-Card-redirect-uri/m-p/20392#M671</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-08-21T22:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Wild Card redirect uri</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Wild-Card-redirect-uri/m-p/20393#M672</link>
      <description>&lt;P&gt;is it possible to pass a redirect_uri with arbitrary path as long as the base_uri is the same?&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Example&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;registered uri: &lt;A href="https://somesub.myapp.com/auth/dropbox" rel="nofollow noreferrer"&gt;https://somesub.myapp.com/auth/dropbox&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;sent uri: &lt;A href="https://somesub.myapp.com/auth/dropbox/user/111" rel="nofollow noreferrer"&gt;https://somesub.myapp.com/auth/dropbox/user/111&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Feb 2016 04:20:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Wild-Card-redirect-uri/m-p/20393#M672</guid>
      <dc:creator>Jimmy C.8</dc:creator>
      <dc:date>2016-02-27T04:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Wild Card redirect uri</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Wild-Card-redirect-uri/m-p/20394#M673</link>
      <description>&lt;P&gt;No, the entire URI needs to match. I&amp;nbsp;recommend using the state parameter to pass along data as necessary instead.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Feb 2016 05:10:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Wild-Card-redirect-uri/m-p/20394#M673</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-02-27T05:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Wild Card redirect uri</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Wild-Card-redirect-uri/m-p/20395#M674</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am trying to follow this dropbox tutorial; but with&amp;nbsp;success&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.dropbox.com/developers/2013/07/using-oauth-2-0-with-the-core-api/" rel="nofollow noreferrer"&gt;https://blogs.dropbox.com/developers/2013/07/using-oauth-2-0-with-the-core-api/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I tried this call using the parameters shown and it worked, at least tried to redirect me to the localhost. But what does this mean? I simply want to be able to ask a user of app to grant dropbox permission to access a shared directory within their dropbox, so I need their bearer-id in calls my app makes to dropbox.&lt;/P&gt;
&lt;P&gt;I setup my own authorisation key thru the dropbox, but what prey ask is a URI in this context? what can use as a redirect URL in this call, assuming I have no plans to set up a web server behind this; its an app that is making this call and I am more than happy to redirect users to dropbox if need be to get the credentials to continue?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/1/oauth2/authorize?client_id=%3Capp" rel="nofollow noreferrer"&gt;https://www.dropbox.com/1/oauth2/authorize?client_id=&amp;lt;app&lt;/A&gt;key&amp;gt;&amp;amp;response_type=code&amp;amp;redirect_uri=&amp;lt;redirect URI&amp;gt;&amp;amp;state=&amp;lt;CSRF token&amp;gt;&lt;/P&gt;
&lt;P&gt;client_id I have?&lt;BR /&gt;redirect URI I don't have; I set it to https://localhost in my app, but it makes no sense?&lt;BR /&gt;CSRF token I can generate?&lt;/P&gt;
&lt;P&gt;I am looking to do an “implicit grant” (for client-side apps like mobile or JavaScript apps). I don't want to have to try to implement Swifty API if I can avoid doing so since I want my code to be as simple as possible?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2016 19:48:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Wild-Card-redirect-uri/m-p/20395#M674</guid>
      <dc:creator>Mark L.45</dc:creator>
      <dc:date>2016-04-18T19:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Wild Card redirect uri</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Wild-Card-redirect-uri/m-p/20396#M675</link>
      <description>&lt;P&gt;If you want to use the implicit flow, your response_type should be set to "token". The client_id should be your app key, and the redirect URI should be some URI where you want the user sent back to after they approve your app to connect to their account. For the implicit a.k.a. token flow, the access token is returned to the redirect URI on the URL fragment.&lt;/P&gt;
&lt;P&gt;While in development, you may use localhost, which points to your local machine, to handle the redirect. You may also want to use localhost in general if your app only runs on the client.&lt;/P&gt;
&lt;P&gt;There's an OAuth guide here that may be useful:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/reference/oauthguide" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers/reference/oauthguide&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2016 23:57:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Wild-Card-redirect-uri/m-p/20396#M675</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-04-18T23:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: Wild Card redirect uri</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Wild-Card-redirect-uri/m-p/20397#M676</link>
      <description>&lt;P&gt;Gregory,&lt;/P&gt;
&lt;P&gt;Thanks, a step forward; but it is now telling me it is unable to open localhost; which makes perfect sense cause the plan is to run this within an app on an iPad. How can I get this response back without running a web server?&lt;/P&gt;
&lt;P&gt;Or indeed do I simply ignore this error message and process the return anyway? There appears to be a bearer access token there anyway?&lt;/P&gt;
&lt;P&gt;Moved to a new thread.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2016 00:47:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Wild-Card-redirect-uri/m-p/20397#M676</guid>
      <dc:creator>Mark L.45</dc:creator>
      <dc:date>2016-04-19T00:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Wild Card redirect uri</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Wild-Card-redirect-uri/m-p/20398#M677</link>
      <description>&lt;P&gt;This thread was originally only about potentially using wild cards in the redirect URI, so please open a new thread so I can help you with further questions without spamming the others on this thread.&amp;nbsp;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2016 00:57:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Wild-Card-redirect-uri/m-p/20398#M677</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-04-19T00:57:25Z</dc:date>
    </item>
  </channel>
</rss>

