Skip to content

fix(api): require auth for job creation#2037

Open
chinook1001 wants to merge 1 commit into
SecureBananaLabs:mainfrom
chinook1001:codex/authenticate-job-create-1776
Open

fix(api): require auth for job creation#2037
chinook1001 wants to merge 1 commit into
SecureBananaLabs:mainfrom
chinook1001:codex/authenticate-job-create-1776

Conversation

@chinook1001
Copy link
Copy Markdown

Summary

  • require authMiddleware before POST /api/jobs can create a job
  • keep GET /api/jobs public for browsing listings
  • add regression coverage for unauthenticated rejection and authenticated success
  • update the API test script so existing node:test files are discovered by npm test -w apps/api

Fixes #2034

/claim #743

Validation

  • npm test -w apps/api

github-actions Bot added a commit that referenced this pull request May 30, 2026
@chinook1001 chinook1001 force-pushed the codex/authenticate-job-create-1776 branch from 81b186e to 0bf6835 Compare May 30, 2026 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Job creation endpoint should require authentication

1 participant