MicrosoftEdge / MicrosoftEdge/WebView2Feedback
[Problem/Bug]: When accessing a client authentication site with a C++ app using WebView2, the client certificate selection UI is not displayed and a 403 error is returned.
@monica-ch is already working on this.
Since Oct 24, 2023.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
What happened?
In a C++ native application using WebView2, when accessing a URL that requires client authentication at startup, the client certificate selection UI is not displayed and a 403 error is returned.
WebView2 runtime version: 99.0.1150.39
[Error message]
403 - Forbidden: Access is denied.
You do not have permission to view this directory or page using the credentials that you supplied.
A similar phenomenon occurs in the publicly available sample app when ``accessing a URL that requires client authentication at startup''.
https://github.com/MicrosoftEdge/WebView2Browser
that's all.
Importance
Important. My app's user experience is significantly compromised.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
99.0.1150.39
SDK Version
1.0.1150.38
Framework
Win32
Operating System
Windows 10
OS Version
19045
Repro steps
Reproduction steps
- Download and open the sample project published below.
https://github.com/MicrosoftEdge/WebView2Browser - Rewrite the connection destination URL in the sample source to a server that requires client authentication.
- Build the sample.
- Start the sample.
Remarks
This phenomenon may or may not be reproduced depending on the environment.
Regression
Don't know
Last working version (if regression)
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.