You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working with an internal website that requires authentication via a token obtained through a web request using credentials (withCredentials: true). When accessing this site in Chrome or Edge, the authentication happens seamlessly without any prompts.
However, when accessing the same site through WebView2, a login prompt appears requesting credentials. I also noticed that the BasicAuthenticationRequested event is triggered.
Is there a way to configure WebView2 to automatically use the current user's credentials, similar to how it works in standard browsers?
I’ve already set AllowSingleSignOnUsingOSPrimaryAccount = true, but that doesn’t seem to make a difference.
Interestingly, on my PC the site loads without any login prompt, but on every other machine tested, the login prompt consistently appears.
The scenario/use case where you would use this feature
HAving the login prompt poppping all the time is quite annoying for the users
How important is this request to you?
----Please select----
Suggested implementation
No response
What does your app do? Is there a pending deadline for this request?
No response
The text was updated successfully, but these errors were encountered:
@sivMSFT thanks for the response, but I have added:
AdditionalBrowserArguments = "--msSingleSignOnForInPrivateWebView2 --msAllowAmbientAuthInPrivateWebView2"
Describe the feature/enhancement you need
Hi,
I'm working with an internal website that requires authentication via a token obtained through a web request using credentials (withCredentials: true). When accessing this site in Chrome or Edge, the authentication happens seamlessly without any prompts.
However, when accessing the same site through WebView2, a login prompt appears requesting credentials. I also noticed that the BasicAuthenticationRequested event is triggered.
Is there a way to configure WebView2 to automatically use the current user's credentials, similar to how it works in standard browsers?
I’ve already set AllowSingleSignOnUsingOSPrimaryAccount = true, but that doesn’t seem to make a difference.
Interestingly, on my PC the site loads without any login prompt, but on every other machine tested, the login prompt consistently appears.
The scenario/use case where you would use this feature
HAving the login prompt poppping all the time is quite annoying for the users
How important is this request to you?
----Please select----
Suggested implementation
No response
What does your app do? Is there a pending deadline for this request?
No response
The text was updated successfully, but these errors were encountered: