Open
Description
The docker-java client does not yet support the token authentication flow defined by the official specification at https://distribution.github.io/distribution/spec/auth/token/
Authentication Flow (text):
- Client sends initial request to registry without any authentication header.
- Registry responds with 401 Unauthorized and a WWW-Authenticate header specifying the token endpoint.
- Client issues a GET request to the token endpoint (/token) with service and scope query parameters.
- Auth server returns JSON containing token, expires_in, and issued_at.
- Client retries the registry request, including Authorization: Bearer .
- Registry responds with 200 OK and the requested payload.
I would be willing to contribute this improvement with guidance from the docker-java community
3B37
Metadata
Metadata
Assignees
Labels
No labels