From 5e3921265b21b3ca8d232f4ea38a6eeb24b38f6a Mon Sep 17 00:00:00 2001 From: Malte Sander Date: Tue, 15 Apr 2025 11:02:44 +0200 Subject: [PATCH] add flask hint --- rust/operator-binary/src/crd/authentication.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rust/operator-binary/src/crd/authentication.rs b/rust/operator-binary/src/crd/authentication.rs index 24708532..46f19fae 100644 --- a/rust/operator-binary/src/crd/authentication.rs +++ b/rust/operator-binary/src/crd/authentication.rs @@ -286,6 +286,8 @@ impl AirflowClientAuthenticationDetailsResolved { } ); + // We have to enforce preferred_username here due to the flask implementation + // https://github.com/dpgaspar/Flask-AppBuilder/blob/6d44e6d581433dcea475764c4bb1270c24bbd6de/flask_appbuilder/security/manager.py#L719 match oidc_provider { IdentityProviderHint::Keycloak => { ensure!(