diff --git a/backend/ee-repo-ref.txt b/backend/ee-repo-ref.txt index 335bc3cf07..ffba720167 100644 --- a/backend/ee-repo-ref.txt +++ b/backend/ee-repo-ref.txt @@ -1 +1 @@ -2d094f0018c2474cbc47f2e6e81f7d53e158f87d +000a83d34767b44c041612df31e2a3e7e305d63a diff --git a/backend/windmill-api/src/lib.rs b/backend/windmill-api/src/lib.rs index 0a59323412..83df75f5ca 100644 --- a/backend/windmill-api/src/lib.rs +++ b/backend/windmill-api/src/lib.rs @@ -489,7 +489,7 @@ pub async fn run_server( .expose_headers([http::header::WWW_AUTHENTICATE]) .allow_origin(Any); - let sp_extension = Arc::new(saml_oss::build_sp_extension().await?); + let sp_extension = Arc::new(saml_oss::build_sp_extension(&db).await?); if server_mode { #[cfg(feature = "embedding")] diff --git a/backend/windmill-api/src/saml_oss.rs b/backend/windmill-api/src/saml_oss.rs index 2747f9ef96..c8e9071624 100644 --- a/backend/windmill-api/src/saml_oss.rs +++ b/backend/windmill-api/src/saml_oss.rs @@ -18,7 +18,7 @@ use axum::{routing::post, Router}; pub struct ServiceProviderExt(); #[cfg(not(feature = "private"))] -pub async fn build_sp_extension() -> anyhow::Result { +pub async fn build_sp_extension(_db: &crate::db::DB) -> anyhow::Result { return Ok(ServiceProviderExt()); }