We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here. 

Forum Discussion

brtdvrs's avatar
brtdvrs
Explorer | Level 4
2 years ago

oauth fails in vs2022 in debug mode

oauth fails in Razor project when started in debug mode. When started without debugging everything is ok and I get my tokens.

When the dropbox page is loaded the debug output window shows all kinds off js code and html, takes a long time and then stops working.

this is the url I'm sending:

https://www.dropbox.com/oauth2/authorize?response_type=token&client_id=9xel3hm56djft05&redirect_uri=https://localhost:7280/DBXauth2

  • Thanks for sharing that. From the screenshot, I see you're loading HTML from the Dropbox web site in your IDE output window itself. The Dropbox web site should only be loaded in the system web browser. I can't offer support for your platform or IDE themselves as those aren't made by Dropbox, so you may need to refer to the documentation or support resources for those for information on how to use them, e.g., how to open a URL in the system browser only.

  • brtdvrs's avatar
    brtdvrs
    Explorer | Level 4

    browser is Edge version 112.0.1722.46, the default browser Visual Studio 22 uses for debugging. In the screenshot you see the debug output generated.

    • Greg-DB's avatar
      Greg-DB
      Icon for Dropbox Staff rankDropbox Staff

      Thanks for sharing that. From the screenshot, I see you're loading HTML from the Dropbox web site in your IDE output window itself. The Dropbox web site should only be loaded in the system web browser. I can't offer support for your platform or IDE themselves as those aren't made by Dropbox, so you may need to refer to the documentation or support resources for those for information on how to use them, e.g., how to open a URL in the system browser only.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,876 PostsLatest Activity: 6 hours ago
325 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!