Forum Discussion

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

redirect_uri to local file

hi,

 

I want to redirect to a local file the authorize.

 

In the redirect uri of my app I put file:///C:/test/redirect_uri.htm , an empty page but the browser gives error.

 

If I put http://localhost I can catch the access_token but I receive it in CppWebBrowserNavigateError with a status error of 0x800C0005

 

How can redirect to a local file with success ?

And the page should it have any special thing or can it be empty ?

Thanks in advance

 

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff
    It sounds like the redirect from Dropbox itself is working properly. I'm afraid I can't offer help on the general server/browser set up on the receiving side. E.g., the "CppWebBrowserNavigateError" doesn't appear to be an error from Dropbox.

    Exactly what you have the receiving server/page do is up to you. Apologies I can't be more helpful!

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,941 PostsLatest Activity: 19 hours ago
351 Following

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 or Facebook.

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!