Issue https://bugs.chromium.org/p/chromium/issues/detail?id=1135492
Suggestions
- Declarative
authCredentials property in ProxyServer config
- Firefox supports similar implementation with
proxyAuthorizationHeader in ProxyInfo
- Allow to modify/add
Proxy-Authorization header on CONNECT requests
Background
Blocking webRequest API will not be supported in favour of DNR API. Adding blocking webRequest.onAuthRequired listener is the only way to supply credentials for proxy servers in Chromium browsers.
Note that browser sign-in dialog box (asks user to enter proxy credentials) is not sufficient:
- User does not know which credentials he/she should enter. Proxy server authorization credentials are usually different from account credentials used to login to use extension features
- Proxy returns 407 (Proxy Authentication Required) more than once during browsing time, causing dialogs to popup at random times
Impact
Privacy extensions won't be able to provide proxy services to users without consistent authorization solution in MV3.
Issue https://bugs.chromium.org/p/chromium/issues/detail?id=1135492
Suggestions
authCredentialsproperty in ProxyServer configproxyAuthorizationHeaderin ProxyInfoProxy-Authorizationheader on CONNECT requestsBackground
Blocking webRequest API will not be supported in favour of DNR API. Adding blocking
webRequest.onAuthRequiredlistener is the only way to supply credentials for proxy servers in Chromium browsers.Note that browser sign-in dialog box (asks user to enter proxy credentials) is not sufficient:
Impact
Privacy extensions won't be able to provide proxy services to users without consistent authorization solution in MV3.