cancel
Showing results forĀ 
ShowĀ Ā onlyĀ  | Search instead forĀ 
Did you mean:Ā 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results forĀ 
ShowĀ Ā onlyĀ  | Search instead forĀ 
Did you mean:Ā 

Login Dropbox account in chromium browser returns the Blank URL while generating the Access token

Login Dropbox account in chromium browser returns the Blank URL while generating the Access token

anand19196
Explorer | Level 4

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:...
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 3

Greg-DB
Dropbox Staff

[Cross-linking for reference: https://stackoverflow.com/questions/53207041/login-dropbox-account-in-chromium-browser-returns-the-b... ]

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.

Bill3168
New 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=aHR0cHM6..."

 

Our original code worked with Dropbox API v1 before.

 

Would you please give me some hints?  Thanks a lot!

 

 

 

 

Greg-DB
Dropbox Staff

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.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Bill3168 New member | Level 2
What do Dropbox user levels mean?