<?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: Cannot Redirect to UWP application with custom URI in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-Redirect-to-UWP-application-with-custom-URI/m-p/772456#M33777</link>
    <description>&lt;P&gt;Can you share the full URL of the page displaying that error message? That would help for debugging this.&lt;/P&gt;</description>
    <pubDate>Wed, 22 May 2024 14:18:16 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2024-05-22T14:18:16Z</dc:date>
    <item>
      <title>Cannot Redirect to UWP application with custom URI</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-Redirect-to-UWP-application-with-custom-URI/m-p/772448#M33776</link>
      <description>&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;We initially implemented the WebView in the Xamarin application for all platforms; it initially worked well, but now that the support for WebView is deprecated, we are unable to use the Web view to authenticate Dropbox logins. Further analyzing this issue, we have come across a suggestion to use the built-in browser at the following link:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/UWP-Webview-and-Token-Authorization/m-p/506972/highlight/true#M25045" target="_blank" rel="noopener"&gt;https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/UWP-Webview-and-Token-Authorization/m-p/506972/highlight/true#M25045&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The application is calling the browser only when a redirect URI is set to a website. As per the suggestion, we can create a new redirect URI for an application that can be used on the application, but when we implement this URI and load the application, the browser opens with the following error message:&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="ManojDB_0-1716386376345.png" style="width: 400px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/46274iEA1343F592496011/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ManojDB_0-1716386376345.png" alt="ManojDB_0-1716386376345.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Redirect URI on the UWP application:&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="ManojDB_1-1716386376349.png" style="width: 400px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/46273i2B25868B651BD482/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ManojDB_1-1716386376349.png" alt="ManojDB_1-1716386376349.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Redirect URI on Dropbox App Console:&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="ManojDB_2-1716386376350.png" style="width: 400px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/46275iA3417E7475E14EA6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ManojDB_2-1716386376350.png" alt="ManojDB_2-1716386376350.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have checked this URI with other applications on UWP, and it calls this application without any issues.&lt;/P&gt;&lt;P&gt;Could you check on this and update the details? If possible, a simple sample for this implementation would be appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 14:03:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-Redirect-to-UWP-application-with-custom-URI/m-p/772448#M33776</guid>
      <dc:creator>ManojDB</dc:creator>
      <dc:date>2024-05-22T14:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Redirect to UWP application with custom URI</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-Redirect-to-UWP-application-with-custom-URI/m-p/772456#M33777</link>
      <description>&lt;P&gt;Can you share the full URL of the page displaying that error message? That would help for debugging this.&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 14:18:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-Redirect-to-UWP-application-with-custom-URI/m-p/772456#M33777</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-05-22T14:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Redirect to UWP application with custom URI</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-Redirect-to-UWP-application-with-custom-URI/m-p/772597#M33780</link>
      <description>&lt;P&gt;Hi please find the URL here,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://www.dropbox.com/oauth2/authorize?response_type=code&amp;amp;client_id=rw3z32n14w4fz73&amp;amp;redirect_uri=dbssample%3A%2F%2Floadpdffromurl.uwp%2F&amp;amp;force_reapprove=true&amp;amp;force_reauthentication=true&amp;amp;token_access_type=offline&amp;amp;code_challenge_method=S256&amp;amp;code_challenge=NGj9CzsD7KVG4jZPVl96Eu5ROvRP_GCPd2W_xES2y3A" target="_blank"&gt;https://www.dropbox.com/oauth2/authorize?response_type=code&amp;amp;client_id=rw3z32n14w4fz73&amp;amp;redirect_uri=dbssample%3A%2F%2Floadpdffromurl.uwp%2F&amp;amp;force_reapprove=true&amp;amp;force_reauthentication=true&amp;amp;token_access_type=offline&amp;amp;code_challenge_method=S256&amp;amp;code_challenge=NGj9CzsD7KVG4jZPVl96Eu5ROvRP_GCPd2W_xES2y3A&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 04:09:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-Redirect-to-UWP-application-with-custom-URI/m-p/772597#M33780</guid>
      <dc:creator>ManojDB</dc:creator>
      <dc:date>2024-05-23T04:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Redirect to UWP application with custom URI</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-Redirect-to-UWP-application-with-custom-URI/m-p/772643#M33781</link>
      <description>&lt;P&gt;Thanks for sharing that. From your earlier screenshot, I see that the app is registered for the redirect URI "dbssample://LoadPDFFromURL.UWP/", however in the 'redirect_uri' parameter in this authorization URL, I see that you're using &lt;SPAN class="message-body-wrapper"&gt;&lt;SPAN class="message-flex-body"&gt;&lt;SPAN class="message-body devtools-monospace"&gt;&lt;SPAN class="objectBox objectBox-string"&gt;"dbssample://loadpdffromurl.uwp/".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="message-body-wrapper"&gt;&lt;SPAN class="message-flex-body"&gt;&lt;SPAN class="message-body devtools-monospace"&gt;&lt;SPAN class="objectBox objectBox-string"&gt;Those values need to be exactly the same. So to address this, either update your app to use "dbssample://LoadPDFFromURL.UWP/" in the authorization URL, or register your app for "dbssample://loadpdffromurl.uwp/".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 11:56:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-Redirect-to-UWP-application-with-custom-URI/m-p/772643#M33781</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-05-23T11:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Redirect to UWP application with custom URI</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-Redirect-to-UWP-application-with-custom-URI/m-p/772644#M33782</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;...&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;. So to address this, either update your app to use "dbssample://LoadPDFFromURL.UWP/" in the authorization URL, ...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Haha... &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;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;, can you post some example code doing that? 🧐&lt;/P&gt;&lt;P&gt;Dropbox .NET SDK won't let you. &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; Take a look &lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet/blob/main/dropbox-sdk-dotnet/Dropbox.Api/DropboxOauth2Helper.cs#L264" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;By the way... URI components are case insensitive (or should be at least). That's why, .NET lowercase the URI, but Dropbox core seems ignore this! This is Dropbox BUG! &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;&lt;P&gt;Let's hope this will be fixed soon.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1839423"&gt;@ManojDB&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;In general it's bad idea to use mixed case URIs. By the way we are talking for URI here not for URL - another term mistake. In spite the check should be case insensitive, it's preferable usage of lower case letters as a URI or URL construct!&lt;/P&gt;&lt;P&gt;Instead waiting for Dropbox bug resolve, just make all your strings lower case everywhere. This will solve your issue. &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;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 12:23:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-Redirect-to-UWP-application-with-custom-URI/m-p/772644#M33782</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2024-05-23T12:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Redirect to UWP application with custom URI</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-Redirect-to-UWP-application-with-custom-URI/m-p/772680#M33784</link>
      <description>&lt;P&gt;Thanks! I'll ask the team to fix that up.&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 15:30:22 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-Redirect-to-UWP-application-with-custom-URI/m-p/772680#M33784</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-05-23T15:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Redirect to UWP application with custom URI</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-Redirect-to-UWP-application-with-custom-URI/m-p/776028#M33911</link>
      <description>&lt;P&gt;Update: we've updated the Dropbox servers to make the relevant matching case-insensitive.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 17:51:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-Redirect-to-UWP-application-with-custom-URI/m-p/776028#M33911</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-06-07T17:51:19Z</dc:date>
    </item>
  </channel>
</rss>

