[Bug]: Missing Bearer challenge in WWW-Authenticate header
- Dominant language
- Swift
- Stars
- 49.9k
- Forks
- 1.8k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 22
Description
### I have done the following
- [x] I have searched the existing issues
- [ ] If possible, I've reproduced the issue using the 'main' branch of this project
### Steps to reproduce
Try to log into a gitea container registry
### Current behavior
"HTTP request to failed with response: 401 Unauthorized. Reason: invalidArgument: "Missing Bearer challenge in WWW-Authenticate header". No credentials found for host "
### Expected behavior
Log in to container registry correctly.
This is similar to #237
Following the same debugging steps
```
www-authenticate: Bearer realm="https:///v2/token",service="container_registry",scope="*"
```
### Environment
```markdown
- OS:
- Xcode:
- Container: container CLI version 0.3.0 (build: release, commit: 3fcf647)
```
### Relevant log output
```shell
```
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Contributor guide
Assessment
This issue has not been assessed yet.