tauri icon indicating copy to clipboard operation
tauri copied to clipboard

[feat] Support HTTP basic auth in tauri-updater

Open tnibler opened this issue 2 years ago • 0 comments

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

tnibler avatar May 31 '23 13:05 tnibler