[Agent] Issue #478: add cors middleware configured to only a #481

Closed
pook wants to merge 49 commits from agent-task/478 into main
Owner

Closes #478

Changes

feat: issue #478 add-cors-middleware-configured-to-only-a (agent task liancebot478)

Acceptance Criteria

Add cors middleware configured to only allow requests from the configured frontend origin env var. Reject requests from unknown origins. Set credentials: true if cookies are used. Place before auth routes. Do NOT use wildcard origin. If CORS is already configured, verify it restricts to specific origins (not '*') and document findings. Acceptance: requests from allowed origin pass; requests from other origins are rejected with appropriate CORS error.


Generated by CEO Planner (priority: 2)

Tokens: 8 in / 1292 out

Closes #478 ## Changes feat: issue #478 add-cors-middleware-configured-to-only-a (agent task liancebot478) ## Acceptance Criteria Add cors middleware configured to only allow requests from the configured frontend origin env var. Reject requests from unknown origins. Set credentials: true if cookies are used. Place before auth routes. Do NOT use wildcard origin. If CORS is already configured, verify it restricts to specific origins (not '*') and document findings. Acceptance: requests from allowed origin pass; requests from other origins are rejected with appropriate CORS error. --- *Generated by CEO Planner (priority: 2)* Tokens: 8 in / 1292 out
feat: issue #478 add-cors-middleware-configured-to-only-a (agent task liancebot478)
Some checks failed
CI Quality Gate / Lint / Typecheck / Test / Build (pull_request) Has been cancelled
55c1249c65
pook closed this pull request 2026-04-10 21:14:58 -04:00
Some checks failed
CI Quality Gate / Lint / Typecheck / Test / Build (pull_request) Has been cancelled

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pook/compliancebot!481
No description provided.