potiuk opened a new pull request, #66503: URL: https://github.com/apache/airflow/pull/66503
The FastAPI CORS middleware was initialized with `allow_credentials=True` hardcoded. Add a new `[api] access_control_allow_credentials` boolean option (default `True` to preserve existing behavior) so deployments that configure `access_control_allow_origins` but do not want credentialed cross-origin requests can opt out. Reported in apache/tooling-agents#23 (ASVS L1 finding F-013). --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Opus 4.7 (1M context) Generated-by: Claude Opus 4.7 (1M context) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
