Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Daniel B.97
11 years agoNew member | Level 1
OAuth2 implicit grant (token flow) does not work in IE/.Net Winform WebBrowser
Currently I'm developing a .Net WinForms desktop app.
I initiate a token-based OAuth2 flow with this URL in IE11 (or to be more precise: the WebBrowser control of .Net WinForms):
https://www.drop...
Nekobul
10 years agoNew member | Level 1
Hi Steve,
I want to report I'm seeing similar issue when running the WebBrowser control under Windows Vista. It is most probably a bug/incompatibility in the WebBrowser. My current suspicion is that the WebBrowser control have an issue handling a redirect url which includes fragment (#) in certain situations. My question to you is why Dropbox does the redirect with fragment and not the regular query (?) tag when doing the token flow?
Here are the steps to reproduce the issue in my environment.
1. Using token flow authorization.
2. The application has already been authorized.
3. The WebBrowser control opens a page asking to enter credentials. Enter credentials and press 'Sign in'.
4. The WebBrowser Navigated event is called. However everything after the fragment (#) is removed.
Handling the DocumentCompleted or Navigating events is not working either.
-------------------------
One more interesting observation. If I don't close the Desktop application and re-open the dialog containing the WebBrowser control, the Dropbox doesn't ask me for credentials and the token flow is called properly with the access_token fragment included.
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!