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