-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Labels
questionFurther information is requestedFurther information is requested
Milestone
Description
The fetchBearerToken method seems to revert to basic authentication too easily. With docker.io for instance, they claim to only support bearer auth in their 'WWW-Authenticate', but they do not support RefresherToken as a password or personal access token. You can use bearer authentication with as pasword with either a password or a personal access token though.
https://github.com/oras-project/oras-go/blob/main/registry/remote/auth/client.go#L305
I am getting reports of other registries that request bearer via the WWW-Authenticate and auth fails with ORAS because it reverts to basic auth which is not supported.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested