My app starts the oauth flow with a URL like this:
https://www.dropbox.com/oauth2/authorize?response_type=code&client_id=<APP_CODE>&token_access_type=offline
After the user authorizes the app and I get an authorization_code. And I use that code with the oath2/token endpoint, I am sending the following data:
code = <AUTH_CODE_FROM_WEBSITE>
grant_type = authorization_code
client_id = <APP_CODE>
client_secret = <APP_SECRET>
The call succeeds, and I do get a access_token, but there is no refresh_token. Is this expected? How can I get a refresh token?