We’re Still Here to Help (Even Over the Holidays!) - find out more 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...
Daniel B.97
10 years agoNew member | Level 1
Hi Ivan,
here you can find my working solution. Maybe it helps you:
https://github.com/Kyrodan/KeeAnywhere/blob/master/KeeAnywhere/OAuth2/OAuth2Form.cs
I use the Navigated-Event.
The only drawback is, that due to the "JavaScript-Magic" the Default WebBrowser is opened on Windows 7 - no problems on Windows 10 (didn't ried on Vista,8, 8.1). In my opinion the JavaScript-stuff is crappy and not very stable. But I must say, that dropbox is one of the providers that implement OAuth2-Token-Flow "usable". For many others I need to use the Non-Fragment-URL-Way to a real existing Web-Server with a possible security problem - a no-go for a Desktop App.
Regards,
Daniel
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!