Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow dropbox backend to work with refresh tokens #1018

Closed
millerthegorilla opened this issue Jun 3, 2021 · 1 comment
Closed

allow dropbox backend to work with refresh tokens #1018

millerthegorilla opened this issue Jun 3, 2021 · 1 comment

Comments

@millerthegorilla
Copy link

Hi, I am using the django-storages as part of django-dbbackup, and am configuring the dropbox parameters in my settings. Everything works fine as expected, but in the dropbox apps info, it is stated that the long-expiration oauth token will be deprecated in the future.

It looks like, according to the dropbox api, the /token/from_oauth1 endpoint can be used in conjunction with your secret key to return an oauth2 shortlived token to allow a call to dropbox function.

I understand that this project is unfortunately not well supported, so I don't expect any changes, but just wanted to point out the potential necessity of making a change before dropbox drop support for the long lived access tokens.

Mtia

@millerthegorilla
Copy link
Author

Actually, I've just been looking at the code, and it may well be possible to use the raw storages code if you are using the django_storages code base exclusively, but the django-dbbackup code doesn't allow for much in the way of customization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant