This is an automated email from the ASF dual-hosted git repository.
vincbeck pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 37e74c74372 fix: Add cookies options into FAB provider.yaml (#54995)
37e74c74372 is described below
commit 37e74c7437284c1032c51511e69595b4656714b8
Author: Lipu Fei <[email protected]>
AuthorDate: Thu Aug 28 00:27:53 2025 +0200
fix: Add cookies options into FAB provider.yaml (#54995)
---
providers/fab/provider.yaml | 14 ++++++++++++++
.../fab/src/airflow/providers/fab/get_provider_info.py | 14 ++++++++++++++
2 files changed, 28 insertions(+)
diff --git a/providers/fab/provider.yaml b/providers/fab/provider.yaml
index 00d0e872acb..8c58e26656c 100644
--- a/providers/fab/provider.yaml
+++ b/providers/fab/provider.yaml
@@ -69,6 +69,20 @@ config:
fab:
description: This section contains configs specific to FAB provider.
options:
+ cookie_secure:
+ description: |
+ Cookie with the secure attribute is only sent to the server with an
HTTPS connection.
+ version_added: 2.4.0
+ type: boolean
+ example: ~
+ default: "False"
+ cookie_samesite:
+ description: |
+ Whether the cookie is restricted to a first-party or same-site
context.
+ version_added: 2.4.0
+ type: string
+ example: ~
+ default: "Lax"
navbar_color:
description: |
Define the color of navigation bar
diff --git a/providers/fab/src/airflow/providers/fab/get_provider_info.py
b/providers/fab/src/airflow/providers/fab/get_provider_info.py
index 2fa32538cd7..068111260c6 100644
--- a/providers/fab/src/airflow/providers/fab/get_provider_info.py
+++ b/providers/fab/src/airflow/providers/fab/get_provider_info.py
@@ -30,6 +30,20 @@ def get_provider_info():
"fab": {
"description": "This section contains configs specific to FAB
provider.",
"options": {
+ "cookie_secure": {
+ "description": "Cookie with the secure attribute is
only sent to the server with an HTTPS connection.\n",
+ "version_added": "2.4.0",
+ "type": "boolean",
+ "example": None,
+ "default": "False",
+ },
+ "cookie_samesite": {
+ "description": "Whether the cookie is restricted to a
first-party or same-site context.\n",
+ "version_added": "2.4.0",
+ "type": "string",
+ "example": None,
+ "default": "Lax",
+ },
"navbar_color": {
"description": "Define the color of navigation bar\n",
"version_added": "2.2.0",