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

   JWTRefreshMiddleware derived the cookie Secure flag from the local
   api.ssl_cert config only. Deployments with TLS terminated at a
   reverse proxy (no local SSL cert on the Airflow process) therefore
   received the JWT refresh cookie without the Secure flag.
   
   Match the pattern already used by every other cookie-setting
   location in the codebase (auth.py, simple/routes/login.py, FAB and
   Keycloak login routes): treat secure as True when either the
   request came in over HTTPS or a local ssl_cert is configured.
   (cherry picked from commit 60db83fa80233c330933bb65123bdce14dfc5c26)
   
   Co-authored-by: Jarek Potiuk <[email protected]>
   Generated-by: Claude Opus 4.6 (1M context) following the guidelines at
   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]

Reply via email to