cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Not happy with your Spotify Wrapped? Check out how Kevin on the Dropbox team used Paper to make sure he keeps discovering new music over 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: 
1
Ask
2
Comments

Refresh Token without access first time

Refresh Token without access first time

Laura Ruggeri
Helpful | Level 5

My app uses long-lived tokens.
I'm migrating the app to use the refresh token.
I generate the url correctly and retrieve the refresh token that I use for subsequent connections.
But to generate the refresh token, even if I pass my apikey, I am prompted to log in to dropbox. is it possible to avoid?

1 Accepted Solution

Accepted Solutions

Re: Refresh Token without access first time

Greg-DB
Dropboxer

No, whether you're using the OAuth flow to request a long-lived access token or a short-lived access token/optional refresh token, the user needs to manually authorize the app, and they need to be logged in to Dropbox to do so. If they are not already logged in, they will be prompted to log in before they can choose to authorize the app to access their account.

View solution in original post

1 Reply 1

Re: Refresh Token without access first time

Greg-DB
Dropboxer

No, whether you're using the OAuth flow to request a long-lived access token or a short-lived access token/optional refresh token, the user needs to manually authorize the app, and they need to be logged in to Dropbox to do so. If they are not already logged in, they will be prompted to log in before they can choose to authorize the app to access their account.

Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?