Comments
-
Many thanks for your answers and your efforts to help me. But, it is not about the Dropbox website. I have made a Cordova app using javascript. When the app starts first time, the user is guided to log in to a Dropbox account. To do that, I use var DROPBOX_APP_KEY = 'mydropboxappkey'; var dbx = new…
-
Ok. I can get the revoke working by using your code. But I have to restart my app to get the Dropbox login dialog. If I run authenticateWithCordova right after revoke, I'm just logged in again without the need of writing my username and password. Anything to do?
-
Okay. I did not see your latest reply befor I posted my last one. I will study that!
-
I think this works, right! var DROPBOX_APP_KEY = 'mydropboxappkey'; var dbx = new Dropbox({clientId:DROPBOX_APP_KEY}); dbx.authTokenRevoke( function() { }); But then I am still logged in until I restart my app. Anything I can do to re-link without restarting my app?
-
Hi Greg. I will be very pleased if you can provide a working example of the revoke process. The authenticate works fine using this code: var DROPBOX_APP_KEY = 'mydropboxappkey'; var dbx = new Dropbox({clientId:DROPBOX_APP_KEY}); dbx.authenticateWithCordova( function(accessToken) { //user is logged in }); but I can't get…