question

VishnuGopalakrishnan-8317 avatar image
0 Votes"
VishnuGopalakrishnan-8317 asked ·

Does webview support webauthn(FIDO2.0)?

WPF app with webview tested with https://demo.yubico.com.
But it shows browser not supported.
At the same time, the edge browser works fine.

On checking the user agent of WPF app and Edge below difference found.

WPF WebView User Agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; WebView/3.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18362

Edge User Agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18362

Why WebView and edge behavior is different?
The query is same as that of,

https://stackoverflow.com/questions/60995011/webview-class-windows-ui-xaml-controls-does-not-support-webauthn-in-wpf

windows-wpf
· 1
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Maybe yubico site checks the browser configs and disables the button. For desktop auth, WebView/WebBrowser is not the recommended way, you should follow the desktop app auth flow Desktop and Mobile Authentication.


0 Votes 0 · ·

0 Answers