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: 

Re: Refresh Token without access first time

Refresh Token without access first time

Laura Ruggeri
Helpful | Level 5
Go to solution

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

Greg-DB
Dropbox Staff
Go to solution

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

Greg-DB
Dropbox Staff
Go to solution

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.

Need more support?