You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
phunction
7 months agoExplorer | Level 4
.Net Maui
Hi, I need to find a way to connect my app with Dropbox. I am moving from a Xamarin.iOS app to .net Maui due to Xamarin not being supported anymore. (I can't just change my app to the new .NET as the...
phunction
Explorer | Level 4
The main issue is the call back to the platform and adding some kind of listener.
I found somewhere a way to bring up a web login, and they could manually copy the key that is presented so it could be pasted into my app. I can't remember where that was and if it provided a refresh token as well so they would not have to do that every time the app is launched.
Or if someone else has an idea on how to make it work without that.
Is there a way to allow a login without having to spawn an external browser?
Greg-DB
7 months agoDropbox Staff
phunction Здравко is correct, you can use ProcessCodeFlowAsync to complete the authorization flow by having the user copy/paste the authorization code into the app, passing the authorization code to that 'code' parameter.
You do need to send the user through the authorization flow in their system browser, but when you don't use a redirect URI in the authorization flow, that authorization code is presented directly to the user directly so they can copy/paste it. That way you can still implement the flow even if you can't redirect to some listener.
And yes, to get a refresh token, you'll need to request "offline" access.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,887 PostsLatest Activity: 2 hours agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!