mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-11-20 08:08:58 +00:00
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:
co-authored by
Claude Opus 5.5
windmill-internal-app[bot]
parent
64e6142277
commit
ae178a0287
@@ -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")]
|
||||
|
||||
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user