cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Refresh token, where I can find an implementation example or tutorial?

Refresh token, where I can find an implementation example or tutorial?

Samnis
Explorer | Level 4
Go to solution

Hi,

I need to update my app to support new OAuth code flow with PKCE/scopes and new short-lived tokens. For code flow with PKCE and scopes I see there is the new method "DBClientsManager.authorizeFromControllerV2:...". But, where I can find a tutorial or an example about using and refreshing short-lived tokens? I don't know which method to call, when call it and how to manage the response.

I have read:

https://dropbox.tech/developers/now-available--scoped-apps-and-enhanced-permissions

https://dropbox.tech/developers/migrating-app-permissions-and-access-tokens#implement-refresh-tokens

- example app DBRoulette

- this forum

but I found nothing.

 

Please help, thank you.

 

13 Replies 13

eweb
Explorer | Level 4
Go to solution

That is possible, I'll try it again. 

eweb
Explorer | Level 4
Go to solution

I unlinked and relinked and it all worked. So I guess we can put that one down to user error. Thanks for your help.

M Anwar Bajwa
New member | Level 2
Go to solution
Refresh token of my new vivo device name y51s v2ò31 iD y3a2743986004 please

Greg-DB
Dropbox Staff
Go to solution

@M Anwar Bajwa A refresh token is not something Dropbox support staff can provide for you. This process is supposed to be built in to the third party app itself. You should reach out to the developer of the third party app you're using for any help with that app.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    M Anwar Bajwa New member | Level 2
  • User avatar
    eweb Explorer | Level 4
What do Dropbox user levels mean?