Describe the problem
I have a download client running on a server somewhere that uses a reverse proxy with HTTP basic auth for access control. I want Sonarr to be able to access that download client.
Describe any solutions you think might work
I'm willing to do the work and submit a PR to enable this, if it's welcome. I can think of two ways to do this, each with some pros and cons:
<client>Settings.cs, and add the ability to read those settings (if present) and add them to <client>Proxy.BuildRequestNzbDrone.Common.Http.[HttpUri,HttpRequestBuilder] to allow parsing the URI-encoded basic auth format (https://user:[email protected]).Option 1 cons:
Option 2 pros:
I'm willing to put together a PR for either approach, if I could get some indication that it's likely to be accepted.
Thanks for the thorough write up, but I don't think this is something we want to support, clients already support their own internal authentication methods (username/password, API Key, etc), anything external to that isn't something we want to concern Sonarr with and wouldn't be used for the vast majority of users, resulting in us needing to support something we don't get much feedback on.
Perhaps a proxy or a way to allow Sonarr to bypass will fit into your configuration.