You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add proxy authentication support with username/password
Add proxy authentication support with username/password
# Description
This PR adds the ability to use authenticated proxies by including username and password credentials in proxy URLs.
# Changes
- Added username and password fields to ProxySettings struct
- Extended database storage and retrieval for proxy credentials
- Added authentication to proxy URLs using the standard format (http://username:password@hostname:port)
- Added secure handling of credentials (password masking in UI, credentials hiding in logs)
- Added comprehensive test coverage for the authentication functionality
# Features
- Users can now set proxy username and password in the proxy settings UI
- Credentials are automatically applied to HTTP, HTTPS, and ALL proxy settings
- Credentials are securely stored in the application database
- Works with any proxy server that supports basic authentication
# Testing
- Added unit tests for URL construction with authentication
- Added tests for environment variable handling with credentials
- Added tests for database storage and retrieval of credentials
- Tested complex URLs with paths, query parameters, and special characters
This enhancement allows users to connect through proxies that require authentication, which is commonly needed in corporate environments.
0 commit comments