Skip to content

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

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_997788515
Open

copybara-service[bot] wants to merge 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.

…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: 997788515
@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
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