EDIT: NOPE! It will not work. Only way is to analyze the hash fragment of url as show here: https://github.com/dropbox/dropbox-sdk-js/blob/master/examples/javascript/utils.js. Or to get an external server to handle the oAuth flow.
ORIGINAL TIP:
How to use the dropbox oauth flow without needing a webserver? Redirect the user to this url: `https://www.dropbox.com/oauth2/authorize?client_id={YOUR_APP_ID}&response_type=code`.
Then ask them to paste the authentication code in your app and get their oAuth token from it.
Comments
Post a Comment