cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more here.

Discuss Dropbox Developer & API

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

Gettng a refresh token from GetAuthorizeUri

Gettng a refresh token from GetAuthorizeUri

phunction
Explorer | Level 4
Go to solution

Hi, I am trying to convert my .net code (used for the old non expiring tokens) to get a refresh token.

In this part:

var authorizeUri = DropboxOAuth2Helper.GetAuthorizeUri(OAuthResponseType.Token, appKey, new Uri(RedirectUri), this.oauth2State);

 

Where do I specify looking for an offline request? (token_access_type=offline)

 

Thanks

10 Replies 10

Greg-DB
Dropbox Staff
Go to solution

@phunction You can find the default parameter values for GetAuthorizeUri in the documentation here.

 

And that's correct, you can re-use refresh tokens; refresh tokens don't expire by themselves (though they can be revoked by the app or user on demand).

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    phunction Explorer | Level 4
  • User avatar
    Здравко Legendary | Level 20
What do Dropbox user levels mean?