forgejo-mcp/operation/org
Byte Flavour 4969ee5881
feat: robust stateless auth with security fixes and improved tests
This commit addresses the review feedback on PR #138:
- Fixed a privilege escalation vulnerability where failed ephemeral client
  creation would silently fall back to the global singleton token.
- Refactored forgejo.Client(ctx) to return (*forgejo.Client, error).
- Updated all 100+ tool handlers to properly handle client initialization errors.
- Improved token extraction to handle schemes (token/bearer) case-insensitively.
- Enhanced Unit Tests (pkg/forgejo/forgejo_test.go) to verify that different
  concurrent requests with different tokens correctly use their respective
  tokens in the Authorization header.
- Updated README and demos to reflect case-insensitivity support.
2026-05-24 13:44:48 +02:00
..
membership.go feat: robust stateless auth with security fixes and improved tests 2026-05-24 13:44:48 +02:00
membership_test.go feat: ✨ add organization management tools (CRUD, membership, teams) 2026-03-20 08:15:39 +01:00
org.go feat: robust stateless auth with security fixes and improved tests 2026-05-24 13:44:48 +02:00
org_test.go feat: robust stateless auth with security fixes and improved tests 2026-05-24 13:44:48 +02:00
teams.go feat: robust stateless auth with security fixes and improved tests 2026-05-24 13:44:48 +02:00
teams_test.go feat: ✨ add organization management tools (CRUD, membership, teams) 2026-03-20 08:15:39 +01:00