MicrosoftEdge / WebView2Feedback

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

Multiple auth prompts when a website is doing http auth to access intranet for accessing shared resources #1612

Open piyush349 opened 3 years ago

piyush349 commented 3 years ago

In edge webview2, we observed that when we try to access NetworkShare Connector over intranet, two/more authentication dialogs are prompted (they may appear at the same time in overlapped manner, or with seconds internal).. This issue is also occur when we try to access the same with the Edge browser. When we try CEF based WebView there is only one Auth prompt.

Untitled

AB#35177970

champnic commented 3 years ago

Thanks for the bug report @piyush349 - it sounds like this is a bug with the underlying authentication flow of Edge. I'll open a bug from this and get it routed to the right folks. Thanks!

champnic commented 3 years ago

@piyush349 Do you see the same behavior in Chrome? Are you doing any authentication handling in CEF that might be supressing this issue?

piyush349 commented 3 years ago

@champnic Chrome works fine. We are not doing any additional authentication handling in CEF. I can see this issue when I am using Edge Browser.

champnic commented 3 years ago

Thanks for confirming!

jasonstephen15 commented 3 years ago

HI @piyush349, @comanea is looking into this now. In order to better understand what is going on, would you mind sharing your netlog of the connection with us? And if you don't mind listing the steps to repro this network share auth prompt please.

piyush349 commented 3 years ago

It happen while accessing the Intranet resources. Looking into the Fiddler traces I can see multple request are fired(same) which is giving 401 and because of which we are getting multiple Auth Prompt.

Capture