Skip to content

Gaotax2006 [ Auth ] Fix #4126: Require auth for OpenAPI schema with internal routes documentation endpoint#4137

Open
Gaotax2006 wants to merge 4 commits into
orchestration-agent:mainfrom
Gaotax2006:fix/auth-docs-4126
Open

Gaotax2006 [ Auth ] Fix #4126: Require auth for OpenAPI schema with internal routes documentation endpoint#4137
Gaotax2006 wants to merge 4 commits into
orchestration-agent:mainfrom
Gaotax2006:fix/auth-docs-4126

Conversation

@Gaotax2006
Copy link
Copy Markdown

Fixes #4126

Enforce authentication on OpenAPI documentation endpoints (/api/docs, /api/redoc, /openapi.json). Token validation checks JWT structure and expiry. Stale, revoked, anonymous, and invalid tokens are denied.

Files changed

  • src/api/middleware.py\n- ests/test_auth_docs.py\n

Acceptance checklist

  • Fix implemented as described
  • Follows existing codebase conventions
  • No AI training leakage markers
  • No CONTRIBUTORS.json modifications
  • No build artifacts committed

@Gaotax2006
Copy link
Copy Markdown
Author

Payment address: 0x6e154f0e2c6190c18c27691537cf12a5f47d0558

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.

[ Bounty $7k ] [ Auth ] Require auth for OpenAPI schema with internal routes — documentation endpoint

1 participant