Forum Discussion

ponkin's avatar
ponkin
Explorer | Level 3
8 years ago

Can I use localhost as redirect_uri in production

Hi,

I have desktop application which is using dropbox API. So, to get oauth token, application is opening authorization url in external browser(Safari, Chrome or whatever...). I`m using http://localhost:33221/dropbox/auth as redirect_url. Application is listening port 33221 on local machine to get oauth token. Is it ok for production? I did not find any guides for desktop applications. Only for web - https://www.dropbox.com/developers/reference/oauth-guide

Thanks.

1 Reply

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    8 years ago
    Yes, Dropbox allows the use of localhost redirect URIs.

About Dropbox API Support & Feedback

Node avatar for 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!