Cut the Clutter: Test Ignore Files Feature - sign up to become a beta tester here.
Forum Discussion
suzuka
8 years agoExplorer | Level 4
java api for authentication
Is it possible to authenticate user with username and password using java api? Without UI.
1 Reply
- Greg-DB8 years ago
Dropbox Community Moderator
No, Dropbox API apps should use the OAuth app authorization flow to let the user authorize the app in their browser. This way, apps never handle the user's username and password.
There's an example of this in the Java SDK here:
https://github.com/dropbox/dropbox-sdk-java/tree/master/examples/authorize
Note that once your app has an access token for a user, it doesn't need any further manual user intervention. It can store and re-use that access token for future calls automatically.
If the device your app runs on doesn't have a browser though, feel free to open a ticket with more details and we'll see if there's any help we can offer:
https://www.dropbox.com/developers/contact
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,039 PostsLatest Activity: 2 days ago
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 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!