We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Melisek
4 years agoExplorer | Level 3
Token refreshing C#
I'm building an app in .net and accessing the app's folder for resources. So far everything is going smoothly, but i have no idea how to refresh the token in my app. I tried using the example code fr...
Melisek
4 years agoExplorer | Level 3
Now i found out why two additional tabs were opening.
https://www.dropbox.com/oauth2/authorize?response_type=code&client_id=XXXXXXXX&redirect_uri=http%3A%2F%2F127.0.0.1%3A52475%2Fauthorize&state=XXXXX&token_access_type=offline&scope=files.metadata.read files.content.read account_info.read&code_challenge_method=S256&code_challenge=XXXX
The OauthFlow.GetauthorizeUri returned the url with spaces instead of + in the scopes.
Greg-DB
Dropbox Community Moderator
4 years agoMelisek Thanks for pointing that out! I'll ask the team to fix that up.
- Melisek4 years agoExplorer | Level 3
I'm trying to replace the spaces with + but it ignores it. Can't generate a refresh token with the scopes because of that.
RedirectUri.ToString().Replace(" ", "+")
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!