From fa7ffbb4f2634e2ffdfa30a6f905ce39ce9198a1 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Thu, 18 Jan 2024 12:18:35 +0100 Subject: [PATCH] fix: fix OIDC issuer --- backend/windmill-api/src/oidc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/windmill-api/src/oidc.rs b/backend/windmill-api/src/oidc.rs index 8d893824b9..9bb1549e58 100644 --- a/backend/windmill-api/src/oidc.rs +++ b/backend/windmill-api/src/oidc.rs @@ -211,7 +211,7 @@ pub async fn gen_token( tx.commit().await?; let job = job.ok_or_else(|| anyhow::anyhow!("Queued job {} not found", job_id))?; - let issue_url = crate::BASE_URL.read().await.clone(); + let issue_url = format!("{}/api/oidc/", crate::BASE_URL.read().await.clone()); let flow_path = if let Some(uuid) = job.parent_job { sqlx::query_scalar!("SELECT script_path FROM queue WHERE id = $1", uuid) .fetch_optional(&db)