mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 08:27:32 +00:00
ldap
This commit is contained in:
@@ -64,6 +64,13 @@
|
||||
"description": "An error occurred while trying to link your account."
|
||||
}
|
||||
},
|
||||
"ldap": {
|
||||
"title": "LDAP Login",
|
||||
"description": "Enter your LDAP credentials.",
|
||||
"username": "Username",
|
||||
"password": "Password",
|
||||
"submit": "Continue"
|
||||
},
|
||||
"mfa": {
|
||||
"verify": {
|
||||
"title": "Verify your identity",
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { DynamicTheme } from "@/components/dynamic-theme";
|
||||
import { UsernamePasswordForm } from "@/components/username-password-form";
|
||||
import { LDAPUsernamePasswordForm } from "@/components/ldap-username-password-form";
|
||||
import { getServiceUrlFromHeaders } from "@/lib/service-url";
|
||||
import { getBrandingSettings, getDefaultOrg } from "@/lib/zitadel";
|
||||
import { Organization } from "@zitadel/proto/zitadel/org/v2/org_pb";
|
||||
@@ -44,11 +44,11 @@ export default async function Page(props: {
|
||||
<h1>{t("title")}</h1>
|
||||
<p className="ztdl-p">{t("description")}</p>
|
||||
|
||||
<UsernamePasswordForm
|
||||
<LDAPUsernamePasswordForm
|
||||
idpId={idpId}
|
||||
requestId={requestId}
|
||||
organization={organization} // stick to "organization" as we still want to do user discovery based on the searchParams not the default organization, later the organization is determined by the found user
|
||||
></UsernamePasswordForm>
|
||||
></LDAPUsernamePasswordForm>
|
||||
</div>
|
||||
</DynamicTheme>
|
||||
);
|
||||
|
@@ -22,7 +22,7 @@ type Props = {
|
||||
idpId: string;
|
||||
};
|
||||
|
||||
export function UsernamePasswordForm({
|
||||
export function LDAPUsernamePasswordForm({
|
||||
organization,
|
||||
requestId,
|
||||
idpId,
|
Reference in New Issue
Block a user