Help
Apps and Installations
Create, Upload, and Share
Delete, Edit, and Organize
Mods Only
Integrations
Plans and Subscriptions
Security and Permissions
Settings and Preferences
Storage Space
View, Download, and Export
Products
DocSend
Dropbox Dash
Dropbox Replay
Dropbox Sign
Discover
Discover
Developer & API
Groups
Business Team Members
Educators
Super User
Ideas
Discussions
Categories
Help
Child Item
Home
English Community
Discover
Developer and API
Dropbox API Support and Feedback
java api for authentication
suzuka
Is it possible to authenticate user with username and password using java api? Without UI.
Find more posts tagged with
API
Abuse
Comments
Greg-DB
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
Featured Links
All Categories
Recent Posts
Activity
About the Community
Tags
Desktop
API
Sync
Share
Error Messages
Child Item