We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
martinkleinaustria
5 years agoExplorer | Level 4
OAuth Updates for an App for just One Single User (Developer is only user) required ?
I received a mail from Dropbox announcing the Oauth updates by Sept 2021.
I have a very simple Single Page Java Script application - which runs in the browser not in node - and I use the Dropbox-sdk.js.
I am and will be the only user of this application.
It just does a
var dbxt = new Dropbox.Dropbox({ accessToken: "xxxxxxxxxxx" });
Where xxxxxxxxx is the Generated Access-Token from the App Console.
Then I use the returned object for a download
dbxt.filesDownload({
path: '/BookLibrary.xml'
})
Thats it.
Do I have to change anything by Sept 2021 due to the changes with OAuth ?
If yes - Could you please provide an example for my simple case.
The "download" example that is provided in the Javascript SDK by today still works with a generated access-token so I guess I don't have to change anything.
Many thanks
Martin Klein
12 Replies
Replies have been turned off for this discussion
- martinkleinaustria5 years agoExplorer | Level 4
Ok. Can you please point me to or provide me an example for a MANUAL OAuth flow that would provide me a refresh Token.
Many thanks and kind regards
Martin Klein
- Greg-DB5 years ago
Dropbox Community Moderator
You can find examples in the authorization documentation, such as how the authorization URL should be formed for /oauth2/authorize, as well as how calls to /oauth2/token would be made using curl.
About Discuss Dropbox Developer & API
Make connections with other developers
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!