mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 14:47:33 +00:00
idpId param, error msg
This commit is contained in:
@@ -49,7 +49,7 @@ export function LDAPUsernamePasswordForm({
|
|||||||
password: values.password,
|
password: values.password,
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
setError("Could not verify password");
|
setError("Could not start LDAP flow");
|
||||||
return;
|
return;
|
||||||
})
|
})
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
|
@@ -43,6 +43,7 @@ export async function redirectToIdp(
|
|||||||
|
|
||||||
// redirect to LDAP page where username and password is requested
|
// redirect to LDAP page where username and password is requested
|
||||||
if (provider === "ldap") {
|
if (provider === "ldap") {
|
||||||
|
params.set("idpId", idpId);
|
||||||
redirect(`/idp/ldap?` + params.toString());
|
redirect(`/idp/ldap?` + params.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user