We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
L. Ladibug
9 years agoNew member | Level 1
Dropbox API V2 Sign out
Hi, I am developing an android app. It uses api v2 to upload images, sign in, and sign out. I don't know how to sign out from my app. Can you help me?
Steve M.
9 years agoDropbox Staff
Ah, I think maybe I understand.
- A user clicks the "log in" button in your app.
- You take the user through the OAuth flow in the browser (since the Dropbox app is not installed).
- If the user isn't already logged in to the Dropbox website, they'll need to enter their username and password to log in.
- Now a new user on the same device wants to log in to your app. But the previous user is still logged in on the Dropbox website.
So you want to programmatically log the user out of dropbox.com. This is not something you can do via the API, since in general, users don't want apps to be able to log them out of their browser sessions.
That said, you can always send the user to https://www.dropbox.com/logout, which will log them out in the browser, but it won't return the user to your app.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,875 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!