From dd64977f8d10388bc043f69f5f3a7ad9f14f9b7c Mon Sep 17 00:00:00 2001 From: Max Peintner Date: Wed, 29 Oct 2025 10:54:28 +0100 Subject: [PATCH] fix(login): idp success url (#10997) # Which Problems Are Solved An IDP Intent could not be completed due to a missing change of successUrl property in a recent PR. # How the Problems Are Solved The /success page has been replaced by /process to finish the IDP flow in all occurences. (cherry picked from commit c913904df306bd0ece79ace1180eb32d9650e0ad) --- apps/login/src/lib/server/loginname.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/login/src/lib/server/loginname.ts b/apps/login/src/lib/server/loginname.ts index c74a7143b08..562d4cc0745 100644 --- a/apps/login/src/lib/server/loginname.ts +++ b/apps/login/src/lib/server/loginname.ts @@ -120,7 +120,7 @@ export async function sendLoginname(command: SendLoginnameCommand) { idpId: activeIdps[0].id, urls: { successUrl: - `${host.includes("localhost") ? "http://" : "https://"}${host}${basePath}/idp/${provider}/success?` + + `${host.includes("localhost") ? "http://" : "https://"}${host}${basePath}/idp/${provider}/process?` + new URLSearchParams(params), failureUrl: `${host.includes("localhost") ? "http://" : "https://"}${host}${basePath}/idp/${provider}/failure?` + @@ -178,7 +178,7 @@ export async function sendLoginname(command: SendLoginnameCommand) { idpId: idp.id, urls: { successUrl: - `${host.includes("localhost") ? "http://" : "https://"}${host}${basePath}/idp/${provider}/success?` + + `${host.includes("localhost") ? "http://" : "https://"}${host}${basePath}/idp/${provider}/process?` + new URLSearchParams(params), failureUrl: `${host.includes("localhost") ? "http://" : "https://"}${host}${basePath}/idp/${provider}/failure?` +