Skip to content

fix(dev): allow only same-origin requests by default for CORS and /run_live - #1668

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_997788515
Oct 21, 2026
Merged

copybara-service[bot] merged 1 commit into
mainfrom
test_997788515

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

fix(dev): allow only same-origin requests by default for CORS and /run_live

  • A UI served from another origin now needs adk.web.cors.origins, for example adk.web.cors.origins=http://localhost:4200.
  • The server now applies Forwarded and X-Forwarded-* headers by default. Make sure your proxy strips them from untrusted clients, or set server.forward-headers-strategy=none.

@copybara-service copybara-service Bot changed the title fix(dev): default adk.web.cors.origins to same-origin only instead of * fix(dev): allow only same-origin requests by default for CORS and /run_live Oct 20, 2026
…n_live

- A UI served from another origin now needs `adk.web.cors.origins`, for example `adk.web.cors.origins=http://localhost:4200`.
- The server now applies `Forwarded` and `X-Forwarded-*` headers by default. Make sure your proxy strips them from untrusted clients, or set `server.forward-headers-strategy=none`.

PiperOrigin-RevId: 1003750486
@copybara-service
copybara-service Bot merged commit 5667d38 into main Oct 21, 2026
7 checks passed
@copybara-service
copybara-service Bot deleted the test_997788515 branch October 21, 2026 08:41
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.

0 participants