<?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: Dropbox custom URL scheme in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730242#M32293</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Please note that the /1/connect page ... is not documented or intended for third party implementations. ...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hm...&lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@9AD39CA637682E9616FBE31CDAF1B6C4/emoticons/1f914.png" alt=":thinking_face:" title=":thinking_face:" /&gt; Really? In such a case what's something not "intended for third party implementations" doing inside official Dropbox SDK (public accessible and documented) that's intended for third party implementations? 🧐 Isn't strange enough? &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@D88F213CAFB196B6AB70612B08AD9D31/emoticons/1f601.png" alt=":beaming_face_with_smiling_eyes:" title=":beaming_face_with_smiling_eyes:" /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Nov 2023 16:54:54 GMT</pubDate>
    <dc:creator>Здравко</dc:creator>
    <dc:date>2023-11-16T16:54:54Z</dc:date>
    <item>
      <title>Dropbox custom URL scheme</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730049#M32275</link>
      <description>&lt;P&gt;I am developing an expo app. It needs to redirect back to the app after users have given authentication. When I was using expo go for basic testing this seemed to work fine but now that I am testing a development build and eventually a production build my process does not seem to work. I can navigate to dropbox.com/oauth2/authorize but returning to the app after receiving permission from the user seems to be the issue.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my app.json file I have:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"expo"&lt;/SPAN&gt;&lt;SPAN&gt;: {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"scheme"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"myapp"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;Here is how I build my redirect URI:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;import&lt;/SPAN&gt; &lt;SPAN&gt;*&lt;/SPAN&gt; &lt;SPAN&gt;as&lt;/SPAN&gt; &lt;SPAN&gt;AuthSession&lt;/SPAN&gt; &lt;SPAN&gt;from&lt;/SPAN&gt; &lt;SPAN&gt;'expo-auth-session'&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;export&lt;/SPAN&gt; &lt;SPAN&gt;function&lt;/SPAN&gt; &lt;SPAN&gt;StartupAutheticationScreen&lt;/SPAN&gt;&lt;SPAN&gt;() {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;const&lt;/SPAN&gt; &lt;SPAN&gt;dropboxRedirURI&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;AuthSession&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;makeRedirectUri&lt;/SPAN&gt;&lt;SPAN&gt;({&lt;/SPAN&gt;&lt;SPAN&gt;path&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;'Auth'&lt;/SPAN&gt;&lt;SPAN&gt;});&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;...&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;The authentication process works until i give permission. Once I click 'allow' I am not redirected to my app. Any help would be greatly appreciated. Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 01:51:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730049#M32275</guid>
      <dc:creator>squidlauncher64</dc:creator>
      <dc:date>2023-11-16T01:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox custom URL scheme</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730056#M32276</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1736915"&gt;@squidlauncher64&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You're providing too few info for what actually you're going to do. Why at all you need special scheme for your application? In general Dropbox API supports only HTTPS scheme as redirect URI and HTTP if the host is 'localhost' only. On mobile devices are supported also 'db-&amp;lt;APP KEY&amp;gt;' schemes. As far as I know no other custom schemes are possible! Anyway, for web applications usually the classical web protocol is enough. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@9AD39CA637682E9616FBE31CDAF1B6C4/emoticons/1f914.png" alt=":thinking_face:" title=":thinking_face:" /&gt; Or not?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 03:15:45 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730056#M32276</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-11-16T03:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox custom URL scheme</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730061#M32277</link>
      <description>&lt;P&gt;Thank you for replying! This is for an application for mobile devices. I would prefer to be directly routed back to the phone app to handle the access tokens. I guess I could reroute to a website domain I just think it would be cleaner this way. Dropbox did successfully reroute me to the 'expo go' app after authentication and I know that redirect URI was something along the lines of&amp;nbsp;&lt;SPAN&gt;exp://127.0.0.1:19000.&amp;nbsp;The problem is returning back to the&amp;nbsp; app in development and production builds once authentication has completed.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 03:56:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730061#M32277</guid>
      <dc:creator>squidlauncher64</dc:creator>
      <dc:date>2023-11-16T03:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox custom URL scheme</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730062#M32278</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1736915"&gt;@squidlauncher64&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;... This is for an application for mobile devices. I would prefer to be directly routed back to the phone app to handle the access tokens. ...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes, you can do it. That's exactly what 'db-&amp;lt;APP KEY&amp;gt;' scheme is for (where &amp;lt;APP KEY&amp;gt; is your application's key). Your application should be ready to handle redirect URI like 'db-&amp;lt;APP KEY&amp;gt;://1/connect'. And URL to start from is a bit different (&lt;A href="https://www.dropbox.com/1/connect" target="_blank"&gt;https://www.dropbox.com/1/connect&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 04:33:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730062#M32278</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-11-16T04:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox custom URL scheme</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730069#M32279</link>
      <description>&lt;P&gt;Thank you for your response. I have attempted using 'db-&amp;lt;APP KEY&amp;gt;' with my actual app key and I am still not redirected to the mobile app. The allow button is greyed out. Do you have any other ideas?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 05:32:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730069#M32279</guid>
      <dc:creator>squidlauncher64</dc:creator>
      <dc:date>2023-11-16T05:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox custom URL scheme</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730212#M32286</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1736915"&gt;@squidlauncher64&lt;/a&gt; It is possible to use a custom URI scheme with the Dropbox OAuth app authorization flow, using the code flow with PKCE. For example, I just tried this out with an authorization URL like this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;https://www.dropbox.com/oauth2/authorize?client_id=APPKEYHERE&amp;amp;response_type=code&amp;amp;redirect_uri=customscheme://redirect&amp;amp;code_challenge=CODECHALLENGEVALUEHERE&amp;amp;code_challenge_method=plain&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dropbox did then return the redirect to the "customscheme://redirect" redirect URI, as you can see in this screenshot:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-11-16 at 9.58.11 AM.png" style="width: 400px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/42132iEE55607CB07885F2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-11-16 at 9.58.11 AM.png" alt="Screenshot 2023-11-16 at 9.58.11 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I don't actually have an installed app registered for the "customscheme://" scheme though, so my browser accordingly reported the NS_ERROR_UNKNOWN_PROTOCOL error for that network request, and the "Allow" button is left disabled.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It sounds like that's what's happening in your case; Dropbox is attempting to perform the redirect requested, but your system was unable to process that URL scheme for whatever reason.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Exactly how you register your custom URL scheme will depend on your platform, but that's outside the scope of Dropbox API support so I can't offer insight on that. You may need to refer to the documentation or support resources for your platform for information on how to set that up.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 15:13:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730212#M32286</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-11-16T15:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox custom URL scheme</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730237#M32290</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1736915"&gt;@squidlauncher64&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;... I have attempted using 'db-&amp;lt;APP KEY&amp;gt;' with my actual app key and I am still not redirected to the mobile app. ...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hm...&lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@9AD39CA637682E9616FBE31CDAF1B6C4/emoticons/1f914.png" alt=":thinking_face:" title=":thinking_face:" /&gt; I just tried it out too:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="изображение.png" style="width: 800px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/42134i28049F961546EAE0/image-size/large?v=v2&amp;amp;px=999" role="button" title="изображение.png" alt="изображение.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;... and finally as a result (after hitting Allow) I got:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="изображение.png" style="width: 800px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/42135i70407DDBE55D1929/image-size/large?v=v2&amp;amp;px=999" role="button" title="изображение.png" alt="изображение.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here oauth_token_secret is authentication code actually (the one masked in green).&lt;/P&gt;&lt;P&gt;If you got something different, post screenshots of the exact steps.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 16:41:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730237#M32290</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-11-16T16:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox custom URL scheme</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730239#M32291</link>
      <description>&lt;P&gt;Please note that the /1/connect page is only meant for use by the official Dropbox SDK(s) and is not documented or intended for third party implementations. When implementing the OAuth app authorization yourself, please use /oauth2/authorize, &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#oauth2-authorize" target="_blank"&gt;documented here&lt;/A&gt;, e.g., as shown in my previous message.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 16:46:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730239#M32291</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-11-16T16:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox custom URL scheme</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730242#M32293</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Please note that the /1/connect page ... is not documented or intended for third party implementations. ...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hm...&lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@9AD39CA637682E9616FBE31CDAF1B6C4/emoticons/1f914.png" alt=":thinking_face:" title=":thinking_face:" /&gt; Really? In such a case what's something not "intended for third party implementations" doing inside official Dropbox SDK (public accessible and documented) that's intended for third party implementations? 🧐 Isn't strange enough? &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@D88F213CAFB196B6AB70612B08AD9D31/emoticons/1f601.png" alt=":beaming_face_with_smiling_eyes:" title=":beaming_face_with_smiling_eyes:" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 16:54:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730242#M32293</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-11-16T16:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox custom URL scheme</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730243#M32294</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/422790"&gt;@Здравко&lt;/a&gt; To clarify, that is meant for the implementation in the official Dropbox SDK(s), and third parties can certainly use the official Dropbox SDKs, but third parties are not meant to re-implement the functionality using /1/connect themselves.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 16:58:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730243#M32294</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-11-16T16:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox custom URL scheme</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730383#M32304</link>
      <description>&lt;P&gt;Ah ok I am using the api itself not the dropbox sdk. I should have clarified that. Sorry about the confusion. I am a novice at this. Here is a screenshot of what happens before i push the accept button:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled 2.png" style="width: 394px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/42154iA5D12A7BEF79A3F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled 2.png" alt="Untitled 2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2023 02:01:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730383#M32304</guid>
      <dc:creator>squidlauncher64</dc:creator>
      <dc:date>2023-11-17T02:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox custom URL scheme</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730385#M32305</link>
      <description>&lt;P&gt;After I push the button it greys out the accept button:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 394px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/42153iFB4DC8929C31EE71/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2023 02:01:09 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730385#M32305</guid>
      <dc:creator>squidlauncher64</dc:creator>
      <dc:date>2023-11-17T02:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox custom URL scheme</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730390#M32306</link>
      <description>&lt;P&gt;Thank you for all your help!&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2023 02:02:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730390#M32306</guid>
      <dc:creator>squidlauncher64</dc:creator>
      <dc:date>2023-11-17T02:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox custom URL scheme</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730399#M32307</link>
      <description>&lt;P&gt;Doesn't matter whether you use SDK or not. Your screenshots just show that for some reason your schema is not able to activate any installed handler (including, but not only your application). Unfortunately, your screenshots don't carry too much information for details. In general different reasons can be, but may be set in 2 groups. First, your application may not be installed correctly as particular scheme handler. This is easier to check. Just put in your browser address line a URI that matches your application expectations (including the scheme). Does, after hitting enter key, your application get up in front of the browser? If Yes, the check is passed successfully, but if no you have some configuration mistake in the application and have to fix it. Second, redirect URI that comes from Dropbox after confirmation may not match to your idea. To see what comes there, an easy way is to copy your browser address line before hitting 'Allow' and paste in desktop browser address line. Usually there are tools letting you trace what's going on. In network tab you can see the redirect request (code 302,after hitting Allow) and find out What's in the 'location' response header. Does it match your (application') expectations, including schema? If Yes, it's Ok, but if no, you have mistake in URL, related to launching the linking process, construction (more careful focusing on the details may be needed).&lt;/P&gt;&lt;P&gt;Hope this gives direction.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2023 06:44:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730399#M32307</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-11-17T06:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox custom URL scheme</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730873#M32313</link>
      <description>&lt;P&gt;So it fails the first check. Here are the guides i have been trying to follow:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.expo.dev/guides/linking/#linking-to-your-app" target="_blank"&gt;https://docs.expo.dev/guides/linking/#linking-to-your-app&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.expo.dev/guides/linking/" target="_blank"&gt;https://docs.expo.dev/guides/linking/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;According to the documentation all I need is to put a scheme in the app.json file which I have done:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Here is a snippet from the app.json:&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"expo"&lt;/SPAN&gt;&lt;SPAN&gt;: {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"scheme"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"myapp"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;Then I use this in my authtnetication script:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is how I build my redirect URI:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;as&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;AuthSession&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;from&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;'expo-auth-session'&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;export&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;function&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;StartupAutheticationScreen&lt;/SPAN&gt;&lt;SPAN&gt;() {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;const&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;dropboxRedirURI&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;AuthSession&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;makeRedirectUri&lt;/SPAN&gt;&lt;SPAN&gt;({&lt;/SPAN&gt;&lt;SPAN&gt;path&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;'Auth'&lt;/SPAN&gt;&lt;SPAN&gt;});&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;console.log(dropboxRedurURI)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The console.log outptus "myapp://Auth", Is there something I am missing? Thanks again for all your help?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 19 Nov 2023 00:31:45 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730873#M32313</guid>
      <dc:creator>squidlauncher64</dc:creator>
      <dc:date>2023-11-19T00:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox custom URL scheme</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730878#M32314</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1736915"&gt;@squidlauncher64&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;So it fails the first check. ...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;In such case your application cannot be launched and that's why your browser "freezes". At that moment the browser does exactly what you did - tries open the same URI - unsuccessfully. To be honest, I'm not familiar with your environment and cannot say what exactly is wrong or if is what you say enough. The only fact is that, as seems (according your words), the application is NOT registered as a handler properly. You have to check and fix whatever needed. The only thing I would advise is to check if all parameters are available in end package (for example, in Android manifest have to be registered an activity with appropriate intent filter, that matches your scheme). That would be a good start point, for instance. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Nov 2023 01:31:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-custom-URL-scheme/m-p/730878#M32314</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-11-19T01:31:47Z</dc:date>
    </item>
  </channel>
</rss>

