Skip to content

fix(proxy): allow Railway project token header#390

Open
odyslam wants to merge 1 commit into
paradigmxyz:mainfrom
odyslam:codex/allow-project-access-token-header
Open

fix(proxy): allow Railway project token header#390
odyslam wants to merge 1 commit into
paradigmxyz:mainfrom
odyslam:codex/allow-project-access-token-header

Conversation

@odyslam
Copy link
Copy Markdown

@odyslam odyslam commented Jun 3, 2026

Summary

  • allow iron-proxy to preserve Railway's Project-Access-Token header
  • keep the change scoped to the exact documented Railway project-token header instead of broadening the auth-header regex
  • add a proxy-config regression test for the rendered header allowlist

Why

Railway project tokens authenticate with Project-Access-Token, while account/workspace tokens use Authorization: Bearer .... Without this allowlist entry, the proxy strips the project-token header before the request reaches Railway.

Test

  • uv run --project services/api pytest services/api/tests/test_proxy_config.py

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