mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-02 12:32:24 +00:00
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 c913904df3)
This commit is contained in:
committed by
Livio Spring
parent
f7309f8295
commit
dd64977f8d
@@ -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?` +
|
||||
|
||||
Reference in New Issue
Block a user