We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

Vicne's avatar
Vicne
Explorer | Level 4
5 years ago

Dropbox not sending refresh_token using new OAuth2 flow

Hi,   (Sorry I first posted this as a reply to this "solved" topic, which was a bad idea because it's mostly unrelated)   I'm developing a "native" app (called Ginj), and started Dropbox inte...
  • Greg-DB's avatar
    5 years ago

    We recommend just using the official SDKs whenever possible, as they'll do most of the work for you, but you can certainly use the HTTPS endpoints directly if you'd like.

     

    You can find information on this in the authorization documentation, as well as the new OAuth Guide.

     

    Most apps currently default to long-lived access tokens, but if you want to start using short-lived access tokens, you should set the 'token_access_type' parameter on your /oauth2/authorize URL. You can find information on using that in the /oauth2/authorize documentation. Specifically, to get short-lived tokens with a refresh token, you should set it to "offline".