Search code examples
androidoauthoauth-2.0dropboxdropbox-api

Oauth 2.0 Authentication within application console(not in browser) is possible or not


In my android app i need to get authentication through Oauth 2.0 for DropBox API. It is done through browser only(redirected to browser and authenticate) . Is it possible to make authentication login page with in my application .


Solution

  • You will have to redirect the user to the Dropbox Login page and then the user must allow your application to access Dropbox in his behalf, so that you can have the OAuth token.By default, the Dropbox API takes you to the browser during authentication, you may implement a Webview within your application and redirect the user within your application itself.