tauri
tauri copied to clipboard
[feat] Support HTTP basic auth in tauri-updater
Describe the problem
I want to use basic auth for my updater endpoint like this:
"updater": {
"endpoints": ["https://username:[email protected]/updates.json"]
}
One reason to do this is to put a small proxy in front of S3 for instance to avoid having binaries in open buckets that get indexed in public databases.
Currently, the username and password get ignored and the request is sent without them.
Describe the solution you'd like
Allow using basic auth credentials in updater endpoint URLs.
I'm willing to implement it myself and submit a PR if maintainers want to, but I think reviewing that is more work than the change itself.
Alternatives considered
No response
Additional context
No response