Hello there, I'm quite new to this ecosystem so I'm sorry if I missed something evident.
I'm currently building my first project with Dioxus-Desktop, very simple and I'm currently stumbling upon the login page. I don't want to recreate an entire Auth page so I would like to use an existing Auth webpage. For that I decided to use an fullpage iframe and load the Auth page.
But I cannot simply load the Auth page, as I would not respect the CORS (I'm calling the iframe from a dioxus:// custom protocol) therefore I am using another custom protocol as a proxy, removing the CORS headers from my requests. It works perfectly and I'm very happy to be able to see the Auth page.
Nonetheless, it works in fact only for GET requests and attempting to submit the login form lead to an error : the underlying POST request (created by the Webview) is translated to a GET request in the custom protocol handler. This is very weird.
While looking for this bug, I discovered that a maybe related bug exists : headers are discarded when using custom protocol on WebkitGTK. A bug that seems to be due to WebkitGTK but I can't found the Bugzilla issue.
TLDR; Are custom protocol only supporting Get requests for the moment? Is there any workaround? Either solving this request issue or a workaround to do what I try to achieve.
Technical details:
Dioxus 0.2.4
Dioxus-Desktop 0.2.3
Wry 0.13.1
Arch Linux distro