mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 11:27:33 +00:00
ldap
This commit is contained in:
@@ -64,6 +64,13 @@
|
|||||||
"description": "An error occurred while trying to link your account."
|
"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": {
|
"mfa": {
|
||||||
"verify": {
|
"verify": {
|
||||||
"title": "Verify your identity",
|
"title": "Verify your identity",
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { DynamicTheme } from "@/components/dynamic-theme";
|
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 { getServiceUrlFromHeaders } from "@/lib/service-url";
|
||||||
import { getBrandingSettings, getDefaultOrg } from "@/lib/zitadel";
|
import { getBrandingSettings, getDefaultOrg } from "@/lib/zitadel";
|
||||||
import { Organization } from "@zitadel/proto/zitadel/org/v2/org_pb";
|
import { Organization } from "@zitadel/proto/zitadel/org/v2/org_pb";
|
||||||
@@ -44,11 +44,11 @@ export default async function Page(props: {
|
|||||||
<h1>{t("title")}</h1>
|
<h1>{t("title")}</h1>
|
||||||
<p className="ztdl-p">{t("description")}</p>
|
<p className="ztdl-p">{t("description")}</p>
|
||||||
|
|
||||||
<UsernamePasswordForm
|
<LDAPUsernamePasswordForm
|
||||||
idpId={idpId}
|
idpId={idpId}
|
||||||
requestId={requestId}
|
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
|
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>
|
</div>
|
||||||
</DynamicTheme>
|
</DynamicTheme>
|
||||||
);
|
);
|
||||||
|
@@ -22,7 +22,7 @@ type Props = {
|
|||||||
idpId: string;
|
idpId: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export function UsernamePasswordForm({
|
export function LDAPUsernamePasswordForm({
|
||||||
organization,
|
organization,
|
||||||
requestId,
|
requestId,
|
||||||
idpId,
|
idpId,
|
Reference in New Issue
Block a user