cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to make sure we keep you updated on the ideas that other users have shared here on the Community? Us too! Check them out over here.

Discuss Dropbox Developer & API

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
1
Ask
2
Reply and help

OAuth Updates for an App for just One Single User (Developer is only user) required ?

Re: OAuth Updates for an App for just One Single User (Developer is only user) required ?

Greg-DB
Dropboxer

Short-lived access tokens only last for a few hours, so if you need long-term access, you'd also need to plug in a refresh token. The refresh token can be used to get new short-lived access tokens on demand, without further manual interaction. The App Console doesn't offer the ability to get refresh tokens though, so you'd need to process the OAuth flow (which you can do manually just once if that's all you need) to get the refresh token.

Re: OAuth Updates for an App for just One Single User (Developer is only user) required ?

martinkleinaustria
Explorer | Level 4

Ok. Can you please point me to or provide me an example for a MANUAL OAuth flow that would provide me a refresh Token.

Many thanks and kind regards

Martin Klein

Re: OAuth Updates for an App for just One Single User (Developer is only user) required ?

Greg-DB
Dropboxer

You can find examples in the authorization documentation, such as how the authorization URL should be formed for /oauth2/authorize, as well as how calls to /oauth2/token would be made using curl.

Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
  • User avatar
    martinkleinaustria Explorer | Level 4
What do Dropbox user levels mean?
Need more support?