forgejo-mcp/operation
Christoph Görn 63e16242a3
fix: 🔒️ reject bare tokens in stateless HTTP auth
extractToken accepted Authorization values with no scheme prefix,
silently treating them as per-request tokens. The stateless-http-auth
spec mandates bare tokens be rejected and treated as no header. Drop
the fallback branch so unrecognized/scheme-less values fall through to
the global singleton instead of forging an identity.

- operation: extractToken returns "" for scheme-less headers (task 2.5)
- test: extractToken case-insensitivity + bare-token rejection (4.4)
- test: ephemeral-client construction failure surfaces error, no
  singleton downgrade (4.3)
- docs: cross-link stateless-http-auth OpenSpec change from README (5.2)
- tasks: mark completed blocker fixes (1.3, 2.4, 2.5, 4.2-4.4, 5.x, 6.3)
2026-06-01 23:41:10 +02:00
..
actions feat: robust stateless auth with security fixes and improved tests 2026-05-24 13:44:48 +02:00
attachment feat: add issue & comment attachment tools (#109) 2026-05-02 12:06:54 +02:00
issue fix: 🐛 request EmbeddedListCap+1 issue comments to detect truncation 2026-05-28 16:15:24 +02:00
org feat: robust stateless auth with security fixes and improved tests 2026-05-24 13:44:48 +02:00
params feat: robust stateless auth with security fixes and improved tests 2026-05-24 13:44:48 +02:00
pull fix: 🐛 request EmbeddedListCap+1 PR reviews to detect truncation 2026-05-28 16:18:20 +02:00
release feat: robust stateless auth with security fixes and improved tests 2026-05-24 13:44:48 +02:00
repo fix: 🐛 request EmbeddedListCap+1 statuses to detect truncation 2026-05-28 16:13:45 +02:00
resource refactor: 🏗️ classify parse errors via sentinel ErrInvalidParams (-32602) 2026-05-28 16:08:59 +02:00
search feat: robust stateless auth with security fixes and improved tests 2026-05-24 13:44:48 +02:00
tracking feat: robust stateless auth with security fixes and improved tests 2026-05-24 13:44:48 +02:00
user fix: 🐛 owner resource: surface orgErr on transport failure, explicit -32003 on both-404 2026-05-28 16:11:26 +02:00
version fix: add /v2 suffix to module path for go install compatibility 2025-12-29 15:51:03 +01:00
wiki feat: robust stateless auth with security fixes and improved tests 2026-05-24 13:44:48 +02:00
extracttoken_test.go fix: 🔒️ reject bare tokens in stateless HTTP auth 2026-06-01 23:41:10 +02:00
operation.go fix: 🔒️ reject bare tokens in stateless HTTP auth 2026-06-01 23:41:10 +02:00