Hello friends,
anyone ever published an app (mobile or desktop) that lets the user access his dropbox?
If yes, how did you implement the "OAuth app authorization flow" of Dropbox?
I can use MY accesstoken on MY machine, but that will not work on other machines.
On other machines I need to implement the "OAuth app authorization flow" of Dropbox
as described here: https://www.dropbox.com/developers/refe ... auth-guide
But I have no idea how that should look/be done in Livecode.
Can this be scripted completely or does the user really need to copy a token from Dropbox (?)
and enter in my application? That is the part I really don't get...
Thanks a lot in advance for any hint!
Best
Klaus
Dropbox OAuth help
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Dropbox OAuth help
After all the help you've given me (and a lot of others), this is one time I really wish I had the answer for you
Re: Dropbox OAuth help
Use OAuth 2 access token instead of flow.
At https://www.dropbox.com/developers/apps/ click on your app, leave Allow implicit grant set as Allow; then Generate access token to use in your app.
At https://www.dropbox.com/developers/apps/ click on your app, leave Allow implicit grant set as Allow; then Generate access token to use in your app.
gmcrev
Re: Dropbox OAuth help
Pardon my ignorance, but if I do that, then other users can use my app with THEIR dropbox?
Re: Dropbox OAuth help
Sorry Klaus, I think I misunderstood your situation.
I was thinking of cases using the OAuth 2 access token when files are transferred between a master desktop program and a users client desktop program via a dropbox app. Encryption and decryption of a simple type can be coded into the programs so that users/clients are not given the actual token.
If the user creates an app themselves in dropbox, they can generate their own OAuth 2 access token and put that into an appropriate part of their program.
I can't help with the flow approach since I don't use it.
I was thinking of cases using the OAuth 2 access token when files are transferred between a master desktop program and a users client desktop program via a dropbox app. Encryption and decryption of a simple type can be coded into the programs so that users/clients are not given the actual token.
If the user creates an app themselves in dropbox, they can generate their own OAuth 2 access token and put that into an appropriate part of their program.
I can't help with the flow approach since I don't use it.
gmcrev
Re: Dropbox OAuth help
OK, thank you anyway