We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
nashworth
4 years agoHelpful | Level 5
UWP Webview and Token Authorization
Since Dropbox has decided to nix support for Edge 18, which has made the UWP Webview control useless for authorization to get a token, is there a workable solution for UWP?
I have not found a w...
Greg-DB
Dropbox Staff
It sounds like the web view unfortunately doesn't use a recent/supported browser engine even when the latest Edge is installed. Using web views isn't officially supported for the OAuth flow though anyway, so the flow should be sent through the system browser regardless.
If you can't run a listener to handle the redirect URI in UWP, one solution may be to send the PKCE OAuth flow through the system browser, with a custom URL scheme registered in your app used as the redirect URI to receive the result.
The API v2 .NET SDK doesn't have a sample like this for UWP, but I'll pass this along as a feature request for the team to write and share one. I can't promise if/when that might be done though.
nashworth
4 years agoHelpful | Level 5
Thank you, I will look into that option. The existing samples provide a blueprint for how it should work.
Documentation on creating a uri scheme for UWP app to handle redirect:
https://docs.microsoft.com/en-us/windows/uwp/launch-resume/handle-uri-activation
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,875 PostsLatest Activity: 2 months agoIf 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!