Hi, I love your stuff but I struggle with a precise feature: OAuth sign-in for a WPF client application. (not a console one).
The only sample I found for WPF application demos for PinAuthorizer for a console app with a ReadLine which is great to allow us to pase the pincode before the Authorize process.
I can't figure a simple way for a real WPF windows apps. The PinAuthorizer's GetPin function request to have the pincode before doing the authorization but the code is available only after the page is display in the browser.
Is there no way to split the process ?
1- launch the browser to get the pin code
2- set the GetPin value and launch the authorize
The only way I think for now if to render some kind of popup dialog during the authorize in the GetPin function delegate but it's not trivial in WPF as there is no simple way to do modal dialog and the dialog must be invoked in the main thread.
Txs in advance for any help