DioxusLabs / dioxus

Fullstack app framework for web, desktop, mobile, and more.
https://dioxuslabs.com
Apache License 2.0
21.66k stars 835 forks source link

How to launch desktop app with OAuth redirect URI #440

Open st-little opened 2 years ago

st-little commented 2 years ago

I want to launch desktop app with a redirect URI after authenticating with OAuth. Can I achieve this with a custom protocol?

jkelleyrtp commented 2 years ago

This is called deep linking - a feature I very much want as well. It doesn't seem like it's really been figured out yet though, anywhere in the Rust community. Here's the Tauri issue for it:

https://github.com/tauri-apps/tauri/issues/323

You might be able to put it together using the crate they point out, but it's currently archived/unmaintained.

At a later point I think we should add support natively into the Desktop crate in the form of a hook or listener component - if you're able to make any headway from the tauri work then we can integrate it into the desktop crate natively.