<?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: Xamarin Forms DropBox Api v2 C# Redirect Uri for iOS and Android in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Xamarin-Forms-DropBox-Api-v2-C-Redirect-Uri-for-iOS-and-Android/m-p/289489#M17731</link>
    <description>&lt;P&gt;It sounds like you're currently using the OAuth 2 "code" flow without a redirect URI, so that the user needs to copy and paste the authorization code into your app to complete the app authorization flow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is possible to streamline this by using a "redirect URI", so that the authorization code (or access token, for the "token" flow) is automatically passed to your app. To do this, you should specify the 'redirect_uri' in the /oauth2/authorize URL. You can find more&amp;nbsp;information on using this in &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#oauth2-authorize" target="_blank"&gt;the documentation for /oauth2/authorize&lt;/A&gt;. I also&amp;nbsp;recommend reading &lt;A href="https://www.dropbox.com/developers/reference/oauth-guide" target="_blank"&gt;the OAuth Guide&lt;/A&gt;, if you haven't already.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We also&amp;nbsp;recommend using one of &lt;A href="https://www.dropbox.com/developers/documentation" target="_blank"&gt;the official SDKs&lt;/A&gt;, if possible, as they'll do most of the work for you. For instance, &lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet/blob/master/dropbox-sdk-dotnet/Examples/SimpleBlogDemo/Controllers/HomeController.cs#L166" target="_blank"&gt;the SimpleBlogDemo example app for the .NET SDK has an example of using a redirect URI with the OAuth app authorization flow&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We don't have an official SDK for Xamarin though, so this may require some more work to do this in Xamarin on iOS/Android. For native clients like that, you can use a custom local URL scheme for your redirect URI.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Aug 2018 16:17:58 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2018-08-07T16:17:58Z</dc:date>
    <item>
      <title>Xamarin Forms DropBox Api v2 C# Redirect Uri for iOS and Android</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Xamarin-Forms-DropBox-Api-v2-C-Redirect-Uri-for-iOS-and-Android/m-p/289312#M17719</link>
      <description>&lt;P&gt;I used Dropbox api and successfulley got the token and and uploaded and download to and from Dropbox from both iOS and Android. Where my problem arise when the user gives app permission to dropbox there appears a code that has to be copy pasted by the user which is then used to get the access token. Recently I found some apps fetching that code automatically to app .Help me doing it and I have no idea about the redirect Uri&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:11:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Xamarin-Forms-DropBox-Api-v2-C-Redirect-Uri-for-iOS-and-Android/m-p/289312#M17719</guid>
      <dc:creator>mazinncr9</dc:creator>
      <dc:date>2019-05-29T09:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Xamarin Forms DropBox Api v2 C# Redirect Uri for iOS and Android</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Xamarin-Forms-DropBox-Api-v2-C-Redirect-Uri-for-iOS-and-Android/m-p/289489#M17731</link>
      <description>&lt;P&gt;It sounds like you're currently using the OAuth 2 "code" flow without a redirect URI, so that the user needs to copy and paste the authorization code into your app to complete the app authorization flow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is possible to streamline this by using a "redirect URI", so that the authorization code (or access token, for the "token" flow) is automatically passed to your app. To do this, you should specify the 'redirect_uri' in the /oauth2/authorize URL. You can find more&amp;nbsp;information on using this in &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#oauth2-authorize" target="_blank"&gt;the documentation for /oauth2/authorize&lt;/A&gt;. I also&amp;nbsp;recommend reading &lt;A href="https://www.dropbox.com/developers/reference/oauth-guide" target="_blank"&gt;the OAuth Guide&lt;/A&gt;, if you haven't already.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We also&amp;nbsp;recommend using one of &lt;A href="https://www.dropbox.com/developers/documentation" target="_blank"&gt;the official SDKs&lt;/A&gt;, if possible, as they'll do most of the work for you. For instance, &lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet/blob/master/dropbox-sdk-dotnet/Examples/SimpleBlogDemo/Controllers/HomeController.cs#L166" target="_blank"&gt;the SimpleBlogDemo example app for the .NET SDK has an example of using a redirect URI with the OAuth app authorization flow&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We don't have an official SDK for Xamarin though, so this may require some more work to do this in Xamarin on iOS/Android. For native clients like that, you can use a custom local URL scheme for your redirect URI.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 16:17:58 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Xamarin-Forms-DropBox-Api-v2-C-Redirect-Uri-for-iOS-and-Android/m-p/289489#M17731</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-08-07T16:17:58Z</dc:date>
    </item>
    <item>
      <title>h youRe: Xamarin Forms DropBox Api v2 C# Redirect Uri for iOS and Android</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Xamarin-Forms-DropBox-Api-v2-C-Redirect-Uri-for-iOS-and-Android/m-p/289590#M17740</link>
      <description>&lt;P&gt;Thanks for the response. Yeah you are right. I used it without Redirect Uri .I don't know the Redirect uri of Android and iOS apps. Can you help me to achieve it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 04:48:15 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Xamarin-Forms-DropBox-Api-v2-C-Redirect-Uri-for-iOS-and-Android/m-p/289590#M17740</guid>
      <dc:creator>mazinncr91</dc:creator>
      <dc:date>2018-08-08T04:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: h youRe: Xamarin Forms DropBox Api v2 C# Redirect Uri for iOS and Android</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Xamarin-Forms-DropBox-Api-v2-C-Redirect-Uri-for-iOS-and-Android/m-p/289674#M17745</link>
      <description>There isn't a particular redirect URI I can share; the redirect URI is something you would choose and define in your app. &lt;BR /&gt;&lt;BR /&gt;We can't officially support Xamarin, but we recommend using one of the official Dropbox SDKs if possible.&lt;BR /&gt;&lt;BR /&gt;There's an old thread here that may be helpful for doing this in Xamarin though:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.dropboxforum.com/t5/API-Support-Feedback/Dropbox-Xamarin-OAuth-Flow-Question-Retrieving-the-Access-Token/m-p/220537" target="_blank"&gt;https://www.dropboxforum.com/t5/API-Support-Feedback/Dropbox-Xamarin-OAuth-Flow-Question-Retrieving-the-Access-Token/m-p/220537&lt;/A&gt;</description>
      <pubDate>Wed, 08 Aug 2018 14:32:45 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Xamarin-Forms-DropBox-Api-v2-C-Redirect-Uri-for-iOS-and-Android/m-p/289674#M17745</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-08-08T14:32:45Z</dc:date>
    </item>
  </channel>
</rss>

