Add Okta logo and API-key dialog mapping

Add the Okta brand mark to the ThirdParties atoms (export, logo map,
and ThirdPartyLogo wiring) and map the generic "domain" extra setting
to the oktaDomain field in the add-access-source dialog so the
API-key connect flow submits the org domain.

Signed-off-by: Aurélien Sibiril <81782+aureliensibiril@users.noreply.github.com>
This commit is contained in:
Aurélien Sibiril
2026-06-04 14:45:21 +02:00
parent 03827704ec
commit 06f3f8aecf
4 changed files with 24 additions and 0 deletions

View File

@@ -142,6 +142,9 @@ function mapAPIKeyExtraSettingToField(
if (settingKey === "region") return "posthogRegion";
if (settingKey === "instanceUrl") return "posthogInstanceUrl";
break;
case "OKTA":
if (settingKey === "domain") return "oktaDomain";
break;
}
return null;
}

View File

@@ -0,0 +1,18 @@
import type { ComponentProps } from "react";
export function Okta(props: ComponentProps<"svg">) {
return (
<svg
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm0 5a5 5 0 100 10 5 5 0 000-10z"
fill="#007DC1"
/>
</svg>
);
}

View File

@@ -38,6 +38,7 @@ import { Microsoft } from "./Microsoft";
import { Monday } from "./Monday";
import { Netlify } from "./Netlify";
import { Notion } from "./Notion";
import { Okta } from "./Okta";
import { OnePassword } from "./OnePassword";
import { OpenAI } from "./OpenAI";
import { PagerDuty } from "./PagerDuty";
@@ -78,6 +79,7 @@ const thirdParties: Record<string, FC<ComponentProps<"svg">>> = {
MONDAY: Monday,
NETLIFY: Netlify,
NOTION: Notion,
OKTA: Okta,
ONE_PASSWORD: OnePassword,
ONEPASSWORD: OnePassword,
OPENAI: OpenAI,

View File

@@ -22,6 +22,7 @@ export { Microsoft } from "./Microsoft";
export { Monday } from "./Monday";
export { Netlify } from "./Netlify";
export { Notion } from "./Notion";
export { Okta } from "./Okta";
export { OnePassword } from "./OnePassword";
export { OpenAI } from "./OpenAI";
export { PagerDuty } from "./PagerDuty";