Cut the Clutter: Test Ignore Files Feature - sign up to become a beta tester here.
Forum Discussion
anand19196
7 years agoExplorer | Level 4
Login Dropbox account in chromium browser returns the Blank URL while generating the Access token
I have developed the WPF project with OAuth for Dropbox. I have faced some difficulties in the Access token generation process recently (It worked fine, a couple of days earlier).
I have used the Chromium browser for this process. While login with Dropbox account in chromium browser returns the Blank URL instead of the Redirect URL with Access token.
Url: https://www.dropbox.com/oauth2/authorize?response_type=token&client_id=abcxxxxxx&redirect_uri=https://www.xyz.com/oauth2/callback
CefSharp version: 37
Please suggest me to how to proceed furtherly and let me know if any further information required from my end.
3 Replies
- Greg-DB7 years ago
Dropbox Community Moderator
[Cross-linking for reference: https://stackoverflow.com/questions/53207041/login-dropbox-account-in-chromium-browser-returns-the-blank-url-while-generating ]
Chromium 37 is very old now, and is unfortunately not supported by the Dropbox web site anymore, so I'm afraid we can't offer help with that.
We also officially don't support processing the OAuth flow in embedded web views anyway. You app should send the user to their default system browser to process the authorization instead.
- Bill31685 years agoNew member | Level 2
Hi,
I use CefSharp web view (CefSharp.WinForms.47.0.2) with "https://www.dropbox.com/oauth2/authorize?client_id=<APP_KEY>&response_type=code" to open the login web view, but got an exception immediately with the following error informaion.
sender = {CefSharp.WinForms.ChromiumWebBrowser}
Browser = {CefSharp.Internals.CefSharpBrowserWrapper}
ErrorCode = Aborted
FailedUrl = "https://www.google.com/recaptcha/api2/anchor?ar=1&k=6LeQblAUAAAAAHIxpoTyzyKHd_2AbdDjSGcy&co=aHR0cHM6Ly93d3cuZHJvcGJveC5jb206&hl=en&v=6uMSoEJtPugDt7Qm0Uu5&size=invisible&sa=REGISTER&cb=ds3tmrskegwe"Our original code worked with Dropbox API v1 before.
Would you please give me some hints? Thanks a lot!
- Greg-DB5 years ago
Dropbox Community Moderator
Dropbox does not support processing the OAuth app authorization flow in a web view, so I'm afraid I can't offer help with that. Please update your app to use the system browser instead. You can find more information in the authorization documentation.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,039 PostsLatest Activity: 2 days ago
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 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!