Skip to content

Handle Codex image routes without proxy token#72

Merged
jacobcxdev merged 1 commit into
mainfrom
jacobcxdev/fix-imagegen-proxy-auth
Jul 10, 2026
Merged

Handle Codex image routes without proxy token#72
jacobcxdev merged 1 commit into
mainfrom
jacobcxdev/fix-imagegen-proxy-auth

Conversation

@jacobcxdev

Copy link
Copy Markdown
Owner

Summary

  • Added Codex image route forwarding for both /images/* and /v1/images/*.
  • Kept image requests outside local proxy token auth while still forwarding Codex account headers upstream.
  • Centralised invalid token rejection so diagnostics stayed consistent across proxy routes.
  • Added coverage for image forwarding, POST-only enforcement, and unknown-path auth diagnostics.

Testing

  • Added unit tests for Codex image routing and invalid-token diagnostics.
  • Not run (not requested).

@jacobcxdev
jacobcxdev merged commit dd3121c into main Jul 10, 2026
1 of 2 checks passed
@jacobcxdev
jacobcxdev deleted the jacobcxdev/fix-imagegen-proxy-auth branch July 10, 2026 04:07
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.

1 participant