From 42974d17399840fcbc3c4b4684cad04f0cb86b99 Mon Sep 17 00:00:00 2001 From: Owen Date: Mon, 8 Jun 2026 17:41:59 -0700 Subject: [PATCH] Make sure the skip to idp is pulled --- server/routers/resource/getResourceAuthInfo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/routers/resource/getResourceAuthInfo.ts b/server/routers/resource/getResourceAuthInfo.ts index 4957781f5..f1328833d 100644 --- a/server/routers/resource/getResourceAuthInfo.ts +++ b/server/routers/resource/getResourceAuthInfo.ts @@ -225,7 +225,7 @@ export async function getResourceAuthInfo( wildcard: resource.wildcard ?? false, fullDomain: resource.fullDomain, whitelist: effectivePolicy?.emailWhitelistEnabled ?? false, - skipToIdpId: resource.skipToIdpId, + skipToIdpId: effectivePolicy?.idpId ?? resource.skipToIdpId, orgId: resource.orgId, postAuthPath: resource.postAuthPath ?? null },