Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
seizo
9 years agoHelpful | Level 6
The design of Dropbox's AUTH CODE page.
I'm creating an Android app that accesses to Dropbox API.
To access Dropbox, users have to get access token using OAuth 2.0.
In this process, before getting the access token, users have to copy...
- 9 years ago
Thanks for the additional information! I'll send this along as a request to optimize this page, but I can't make any promises.
We do still highly recommend trying a redirect URI though. The /oauth2/authorize, which is still used even if you use a redirect URI, does also allow the user to switch Dropbox accounts. (In fact, switching accounts after hitting "Allow" would be too late to change what account is linked to the app anyway.)
It sounds like you may not want to use a redirect URI because it sometimes doesn't give the user a chance to switch though, since it may automatically redirect the user if they've already authorized the app. If that's the case, you should set force_reapprove=true to disable that behavior.
Greg-DB
Dropbox Community Moderator
9 years agoThanks for the additional information! I'll send this along as a request to optimize this page, but I can't make any promises.
We do still highly recommend trying a redirect URI though. The /oauth2/authorize, which is still used even if you use a redirect URI, does also allow the user to switch Dropbox accounts. (In fact, switching accounts after hitting "Allow" would be too late to change what account is linked to the app anyway.)
It sounds like you may not want to use a redirect URI because it sometimes doesn't give the user a chance to switch though, since it may automatically redirect the user if they've already authorized the app. If that's the case, you should set force_reapprove=true to disable that behavior.
seizo
9 years agoHelpful | Level 6
Hello Greg, Thank you for the kind advice.
"force_reapprove=true" is truly nice!
I'll try redirect-page with it readily.
I really appreciate your support. <(_ _)> :stuck_out_tongue_winking_eye:
- seizo9 years agoHelpful | Level 6
Hi Greg,
Finally I used "force_reauthentication=true" to force users to choice their accounts before they are lead to the redirect-page.
Anyway, thank you for your advice. :stuck_out_tongue_winking_eye:
- Radhika Girigalla5 years agoExplorer | Level 3
Please anybody tell me how to set the force_reauthentication as true in authorization url.
DbxWebAuth.Request webAuthRequest = DbxWebAuth.newRequestBuilder().withForceReapprove(true).withRedirectUri(finalUrl, getSessionStore(httpServletRequest)).build();
in the above code, there is method for setting force_reapprove as true but no method for force_reauthentication as true.
- Greg-DB5 years ago
Dropbox Community Moderator
Radhika Girigalla I'll follow up with you on your GitHub issue.
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!