Skip to content

Conversation

@github-actions
Copy link

api/ssl_cert has a default value of "" so has_option is always returning
true, so we have to find in a slightly more complex way of telling if this
setting is turned on.

I have also updated the Simple security manager to look at X-Forwarded-Proto
so that if there is a reverse proxy in front (and if Airflow is configured to
trust that) then it sets the secure flag
(cherry picked from commit 76edd92)

Co-authored-by: Ash Berlin-Taylor ash@apache.org

…cookie as secure (#49721)

`api/ssl_cert` has a default value of "" so `has_option` is always returning
true, so we have to find in a slightly more complex way of telling if this
setting is turned on.

I have also updated the Simple security manager to look at X-Forwarded-Proto
so that if there is a reverse proxy in front (and if Airflow is configured to
trust that) then it sets the secure flag
(cherry picked from commit 76edd92)

Co-authored-by: Ash Berlin-Taylor <ash@apache.org>
@boring-cyborg boring-cyborg bot added area:API Airflow's REST/HTTP API kind:documentation labels Apr 24, 2025
@ashb ashb marked this pull request as ready for review April 24, 2025 15:08
@ashb ashb requested a review from vincbeck as a code owner April 24, 2025 15:08
@vincbeck vincbeck merged commit 3eee8c8 into v3-0-test Apr 24, 2025
73 checks passed
kaxil pushed a commit that referenced this pull request Apr 24, 2025
…cure (#49721) (#49733)

`api/ssl_cert` has a default value of "" so `has_option` is always returning
true, so we have to find in a slightly more complex way of telling if this
setting is turned on.

I have also updated the Simple security manager to look at X-Forwarded-Proto
so that if there is a reverse proxy in front (and if Airflow is configured to
trust that) then it sets the secure flag
(cherry picked from commit 76edd92)

Co-authored-by: Ash Berlin-Taylor <ash@apache.org>

* Update airflow-core/docs/core-concepts/auth-manager/index.rst

---------

Co-authored-by: Ash Berlin-Taylor <ash@apache.org>
@kaxil kaxil deleted the backport-76edd92-v3-0-test branch April 24, 2025 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API kind:documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants