Skip to content

feat(proxy): reject unauthenticated requests with 403#9

Closed
p2pdkivenko wants to merge 1 commit into
Macbet:mainfrom
p2pdkivenko:feat/reject-unauthenticated-requests
Closed

feat(proxy): reject unauthenticated requests with 403#9
p2pdkivenko wants to merge 1 commit into
Macbet:mainfrom
p2pdkivenko:feat/reject-unauthenticated-requests

Conversation

@p2pdkivenko

Copy link
Copy Markdown
Contributor

Summary

  • Return 403 Forbidden immediately when requests lack an Authorization header
  • Prevents unnecessary fan-out to upstream projects for unauthenticated clients
  • Previously unauthenticated requests would fan-out, get 401 from all projects, and return a misleading 404 MANIFEST_UNKNOWN

@p2pdkivenko

Copy link
Copy Markdown
Contributor Author

Superseded by #10 which includes both the 403 guard and service auth for upstream requests.

@p2pdkivenko p2pdkivenko closed this Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant