Actions
Issue #8046
closedAdd error details for the 401 auth header
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
GalaxyNG
Sprint:
Sprint 91
Quarter:
Description
Access-Control-Expose-Headers: Correlation-ID
Allow: GET, HEAD, OPTIONS
Connection: close
Content-Length: 150
Content-Type: application/json
Correlation-ID: de6ebc50d5464587afdb5a757234b0e8
Date: Thu, 07 Jan 2021 13:09:36 GMT
Docker-Distribution-Api-Version: registry/2.0
Server: gunicorn/20.0.4
Vary: Accept
WWW-Authenticate: Bearer realm="http://pulp3-source-fedora32.fluffy.example.com/token",service="localhost:24817",scope="repository:test/this:pull"
X-Frame-Options: SAMEORIGIN
{
"errors": [
{
"code": "UNAUTHORIZED",
"detail": {},
"message": "Access to the requested resource is not authorized. The provided Bearer token is invalid."
}
]
}
vs
Www-Authenticate: Bearer realm="https://auth.docker.io/token",service="registry.docker.io",scope="registry:catalog:*",error="insufficient_scope"
Www-Authenticate: Bearer realm="https://auth.docker.io/token",service="registry.docker.io",scope="registry:catalog:*",error="invalid_token"
Updated by lmjachky almost 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to lmjachky
Updated by pulpbot almost 4 years ago
- Status changed from ASSIGNED to POST
Added by Lubos Mjachky over 3 years ago
Added by Lubos Mjachky over 3 years ago
Revision 8274e1ed | View on GitHub
Return error code in the WWW-Authenticate header
closes #8046
Updated by Anonymous over 3 years ago
- Status changed from POST to MODIFIED
Applied in changeset 8274e1ed1b83ccfe2c7eec1294582dfb9d8a71ea.
Updated by pulpbot over 3 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Return error code in the WWW-Authenticate header
closes #8046