Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix authentication against Artifactory
To authenticate against an OCI registry the code currently requires a `scope` attribute in the `WWW-Authenticate` header. This key is optional according to RFC 6750 [1], an empty string can be used if it's not present. Artifactory does not include the `scope` attribute and hence authentication fails currently. Fix that by making the attribute optional. [1] "Use of the "scope" attribute is OPTIONAL." Fixes #691
- Loading branch information