Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for custom headers #320

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ebadfd
Copy link

@ebadfd ebadfd commented Dec 31, 2024

Summary

This PR introduces support for custom headers in API requests, addressing scenarios where users authenticate to the Subsonic API via reverse proxies. For example, in setups like Cloudflare Zero Trust, API keys can be used to securely access the on-prem setup which is my personal use case.

Key Changes

  • Custom Header Support:

    • Added functionality to specify custom headers for API requests.
  • UI Updates:

    • Converted the "Register Server" dialog to a full-screen dialog to accommodate additional fields for custom header configuration.
    • Custom header input is collected via a new alert dialog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant