MicrosoftEdge / WebView2Feedback

Feedback and discussions about Microsoft Edge WebView2
https://aka.ms/webview2
443 stars 53 forks source link

[Problem/Bug]: NTLM login dialog doesn't pop up #4624

Open feiandytan opened 3 months ago

feiandytan commented 3 months ago

What happened?

We have a UWP application with Webview2 control. When loading an URL from the Webview2 which responses NTLM authentication challenge, the Webview2 doesn't pops up the NTLM login dialog, so the request always fails with 401 status code.

If opening the same URL on Edge browser, the login dialog can pop up correctly. See the screenshot from Edge browser: image

Importance

Blocking. My app's basic functions are not working due to this issue.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

126.0.2592.61

SDK Version

1.0.1264.42

Framework

WinUI2/UWP

Operating System

Windows 10

OS Version

No response

Repro steps

We have a UWP application with Webview2 control. When loading an URL from the Webview2 which responses NTLM authentication challenge, the Webview2 doesn't pops up the NTLM login dialog, so the request always fails with 401 status code.

If opening the same URL on Edge browser, the login dialog can pop up correctly.

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

No, this never worked

Last working version (if regression)

No response

victorhuangwq commented 3 months ago

Hi, could you provide the runtime version and sdk version?

feiandytan commented 3 months ago

Webview2 runtime version: 126.0.2592.61

Webview2 SDK version: 1.0.1264.42