You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cors_allowed_origins should default to restrictive in prod mode #7640
Describe the bug cors_allowed_origins defaults to ["*"] in reflex, which allows any site to directly connect to the reflex backend; while this is a public endpoint, it should only allow access from the configured deploy_url or explicit cors_allowed_origins in prod mode to restrict access to only expected frontends.
This will be a breaking change, since existing apps do not need to set any special configuration today.
Activity
linear-code commentedon Oct 22, 2026
ENG-13503
fix(app): restrict default CORS origins to deploy_url in prod mode (r…