Project

Profile

Help

Issue #8046

closed

Add error details for the 401 auth header

Added by ipanova@redhat.com over 1 year ago. Updated over 1 year ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
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"
Actions #1

Updated by ipanova@redhat.com over 1 year ago

  • Sprint/Milestone set to 2.4.0
Actions #2

Updated by lmjachky over 1 year ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to lmjachky
Actions #3

Updated by pulpbot over 1 year ago

  • Status changed from ASSIGNED to POST
Actions #4

Updated by ipanova@redhat.com over 1 year ago

  • Triaged changed from No to Yes
Actions #5

Updated by ipanova@redhat.com over 1 year ago

  • Tags GalaxyNG added
Actions #6

Updated by ipanova@redhat.com over 1 year ago

  • Sprint set to Sprint 90
Actions #7

Updated by rchan over 1 year ago

  • Sprint changed from Sprint 90 to Sprint 91

Added by Lubos Mjachky over 1 year ago

Revision 8274e1ed

Return error code in the WWW-Authenticate header

closes #8046

Added by Lubos Mjachky over 1 year ago

Revision 8274e1ed

Return error code in the WWW-Authenticate header

closes #8046

Actions #8

Updated by Anonymous over 1 year ago

  • Status changed from POST to MODIFIED
Actions #9

Updated by pulpbot over 1 year ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF