Skip to content

feat: add support for custom headers#320

Open
ebadfd wants to merge 1 commit intoCappielloAntonio:mainfrom
ebadfd:feat/custom-header-support
Open

feat: add support for custom headers#320
ebadfd wants to merge 1 commit intoCappielloAntonio:mainfrom
ebadfd:feat/custom-header-support

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

Comments