foxyproxy / browser-extension

Version 8 and above. Browser extension source code for Firefox, Chrome, and other Chromium-based browsers
GNU General Public License v2.0
228 stars 33 forks source link

Prompt for SOCK5 authentication when accessing site via proxy #43

Closed z0id closed 3 months ago

z0id commented 10 months ago

Hi,

I have a SOCKS5 proxy set up with authentication. I noticed the connection works if I save the credentials in FoxyProxy, but fails if credentials are not set.

I am in the position where I need authentication, but can't have the credentials permanently saved in the browser either. Would it be possible for FoxyProxy to have the option prompt for credentials when site is accessed, similar to the way HTTP Proxy works in vanilla Firefox?

Thanks!

erosman commented 10 months ago

Unfortunately, the authentication prompt comes from webRequest.onAuthRequired and that API only handles HTTP/HTTPS/WS/WSS.