WebExtensions ProxyAPI: support digest authentication

NEW
Unassigned

Status

()

Toolkit
WebExtensions: Untriaged
P2
normal
3 months ago
29 days ago

People

(Reporter: ericjung, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [Proxy, outreach] triaged [awe:client@anonymox.net])

(Reporter)

Description

3 months ago
Digest access authentication is needed for the WebExtensions Proxy API. Probably need bug 1359543 to be done first so that WebExtensions have an easy way to provide a username/password.
(Reporter)

Comment 1

3 months ago
We may be able to get auth to work with https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/webRequest/onAuthRequired. That wouldn't be as clean as providing auth info in the ProxyAPI's FindProxyForPAC() function, but could be a good workaround for now.

See also bug 1360404 - Accept credentials in proxyInfo object (non-SOCKS)
(Reporter)

Comment 2

3 months ago
Blocks anonymoX
Whiteboard: [outreach]

Updated

2 months ago
Priority: -- → P2
Whiteboard: [outreach] → [Proxy, outreach] triaged

Updated

2 months ago
Whiteboard: [Proxy, outreach] triaged → [Proxy, outreach] triaged [awe:client@anonymox.net]
(Reporter)

Comment 3

2 months ago
> We may be able to get auth to work with https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/webRequest/onAuthRequired.
Confirmed this works, and I have an example extension. However, it does *not* work for SOCKS proxy servers. Only HTTP and HTTPS/SSL proxy servers. So this is not a complete solution.
You need to log in before you can comment on or make changes to this bug.