setRefreshToken unexpectedly removed since v5.2.0
See original GitHub issueHello, I’m following the official OAuth2 developer guide from this URL: https://www.dropbox.com/lp/developers/reference/oauth-guide#using-refresh-tokens
Also, from the /oauth2/token
documentation, I understand that Dropbox v2 API supports short-lived tokens with refresh tokens:
https://www.dropbox.com/developers/documentation/http/documentation#oauth2-token
However, i’m surprised to see that in v5.2.0, the setRefreshToken
method was removed from the SDK.
Is that intentional? If yes, is there another way to refresh tokens and use short lived tokens?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:7 (3 by maintainers)
Top Results From Across the Web
PKCE version of `getAuthenticationUrl()` is not available in ...
I'm trying to follow example of PKCE_backend/code_flow_example.js but do it in typescript and found the definition of getAuthenticationUrl() ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I see, that does seem to be a bug, I can get that resolved asap. We are going to be pushing an update in the next few days so we can add this change into that update as well.
This should be fixed now as of the latest version. Please give it a try and let us know if you’re still seeing any issues. Thanks!