fix: disable SAML instead of crashing when its metadata cannot be loaded (#12528)

* fix: disable SAML instead of crashing when its metadata cannot be loaded

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: retry a SAML metadata URL and raise a critical alert when SAML is disabled

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: bound the SAML metadata fetch with connect and request timeouts

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore: update ee-repo-ref to 000a83d34767b44c041612df31e2a3e7e305d63a

This commit updates the EE repository reference after PR #995 was merged in windmill-ee-private.

Previous ee-repo-ref: 532321fdc399096402e5bfce38f3d5dcd7621404

New ee-repo-ref: 000a83d34767b44c041612df31e2a3e7e305d63a

Automated by sync-ee-ref workflow.

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
This commit is contained in:
Ruben Fiszel
2026-11-18 23:13:32 +01:00
committed by GitHub
co-authored by Claude Opus 5.5 windmill-internal-app[bot]
parent 64e6142277
commit ae178a0287
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1 +1 @@
2d094f0018c2474cbc47f2e6e81f7d53e158f87d
000a83d34767b44c041612df31e2a3e7e305d63a
+1 -1
View File
@@ -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")]
+1 -1
View File
@@ -18,7 +18,7 @@ use axum::{routing::post, Router};
pub struct ServiceProviderExt();
#[cfg(not(feature = "private"))]
pub async fn build_sp_extension() -> anyhow::Result<ServiceProviderExt> {
pub async fn build_sp_extension(_db: &crate::db::DB) -> anyhow::Result<ServiceProviderExt> {
return Ok(ServiceProviderExt());
}