github-actions[bot] opened a new pull request, #67181:
URL: https://github.com/apache/airflow/pull/67181

   * Make CORS allow_credentials configurable
   
   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.
   
   * Address review nits: bump version_added to 3.2.2, hoist imports
   
   - config.yml: version_added 3.2.0 -> 3.2.2 to match the backport target
   - test_app.py: move FastAPI, CORSMiddleware, init_config, and conf_vars
     imports to the top of the file instead of inline inside the test method.
   
   ---------
   (cherry picked from commit 2723f66d6ed086eb68fddcdc0798e1ae3df40904)
   
   Co-authored-by: Jarek Potiuk <[email protected]>
   Co-authored-by: vatsrahul1001 <[email protected]>


-- 
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]

Reply via email to