Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Agrometius_Smart_Farming
5 years agoExplorer | Level 3
Server-side application with NO way to use the standard OAuth flow
One of our server-side applications should be able to access all of our Dropbox Business files. This application is exclusively meant for use by our own organization, for background file handling, me...
RosenPetrov
5 years agoNew member | Level 2
Hello,
Can you elaborate a bit more on how to refactor the code to accomplish what you said? I am looking into the examples https://github.com/dropbox/dropbox-sdk-dotnet/tree/main/dropbox-sdk-dotnet/Examples but seems that they actually include more things that this needs like some redirect URLs, JS handling, etc. Which example could I follow?
Greg-DB
Dropbox Community Moderator
5 years agoRosenPetrov The examples you linked to are the current samples for implementing the OAuth app flow with the Dropbox .NET SDK. Are they not working for you, or can you clarify what you're stuck on?
- Rosen Petrov5 years agoExplorer | Level 4
Hi,
I am looking into the 'SimpleTest' and I see these LoopbackHost, RedirectUri and JSRedirectUri but in my case I need this Authentication to happen in a background without user interaction. Could you point me in the right direction how I could accomplish that. Maybe some high level steps but not code would be enough.
Thanks 🙂
- Greg-DB5 years ago
Dropbox Community Moderator
Rosen Petrov It is not possible to get authorization to access an account purely via a background process. Authorizing an app requires manual user interaction the first time, for the user to indicate to Dropbox that they want to allow the app to access their account. After that though, the app can store and re-use the resulting access token and optional refresh token to make further API calls without further manual user interaction. I recommend reading the OAuth Guide for more information on how this process works at a high level.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If 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, Facebook or Instagram.
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!