Skip to content

Revisit Secure token attribute #47878

Open
Open

Description

@pierrejeambrun

Use another way to check weather or not we need to use secure cookie. When TLS is enabled cookies should be secured, when it's not enabled it should not. (Otherwise auth will fail and other cookie based workflow too).

Currently we check the config for a certificate to decide that, but most of the time a proxy handles the TLS termination so we should maybe also check request.secure or something related to proxy headers forwarding.

More context here:
#47859 (comment)

Activity

  1. added
    kind:meta
    on Mar 17, 2025
  2. added this to the Airflow 3.0.0 milestone on Mar 17, 2025
  3. removed theissue type on Mar 17, 2025
  4. removed this from the Airflow 3.3.0 milestone on Jun 25, 2026
  5. 2 remaining items

  6. shaealh commented on Jul 15, 2026

    @shaealh
    Contributor

    working on AWS login_callback secure-cookie slice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:authkind:meta

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions