json - Dropbox user authorization without invoking a web browser for login -
I'm relatively new to the Dropbox API, so I'm just asking for a little bit if I'm sorry.
I am developing an application that will synchronize its database via the Dropbox Datastore API (or Sync API), but I can not find a way to authorize the user for the Dropbox service connection is. The only authentication I can search for is an API, according to the documentation a web page will appear that will allow the user to log in.
I'm not really interested in displaying any web page in my app (since it is not web-based, nor does it have a web browser). I just got my own UI < Code> Username and the password
field with the note please log in to your dropbox account
where a user can type in their credentials Afterwards i Dropbox could send in API call.
Is there a way to authorize a user account?
From design, the Dropbox API does not allow this. (We do not want third-party applications to handle user credentials at any time.)
Note, however, that the user has to do this authorization only once. Since then, your app may continue to use access tokens at the first place. The normal flow for the command line app is to allow the user to authorize the browser and then copy / paste an access code into the console. The app then receives access token and saves it for future use.
Comments
Post a Comment