MicrosoftEdge / MicrosoftEdge/WebView2Feedback

Get proxy server and port in OnBasicAuthenicationRequested

Open
#3,250 3 comments 0 reactions 2 assignees View on GitHub

@Lakshmisha-KS is already working on this.

Since Feb 12, 2025.

feature request priority-low tracked
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

I'm using ICoreWebView2BasicAuthenticationRequestedEventHandler to handle proxy uname and passwd filling, however, neither this API cannot candidate the auth event is proxy event, nor get the proxy server and port, it only give a url and challenge, this is not enough for me, in cef the corresponding callback is GetAuthCredentials(CefRefPtr browser,
const CefString& origin_url,
bool isProxy,
const CefString& host,
int port,
const CefString& realm,
const CefString& scheme,
CefRefPtr callback)
this provide proxy host and port, and a flag isProxy.
I need this info, hope webview2 can provide too, or any workaround

AB#43602717

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.