diff --git a/frontend/src/lib/components/AuthSettings.svelte b/frontend/src/lib/components/AuthSettings.svelte index 0f21d1cae7f17..f3dbddb327061 100644 --- a/frontend/src/lib/components/AuthSettings.svelte +++ b/frontend/src/lib/components/AuthSettings.svelte @@ -10,6 +10,7 @@ import CustomSso from './CustomSso.svelte' import AuthentikSetting from '$lib/components/AuthentikSetting.svelte' import AutheliaSetting from '$lib/components/AutheliaSetting.svelte' + import PocketIdSetting from '$lib/components/PocketIdSetting.svelte' import KanidmSetting from '$lib/components/KanidmSetting.svelte' import ZitadelSetting from '$lib/components/ZitadelSetting.svelte' import NextcloudSetting from '$lib/components/NextcloudSetting.svelte' @@ -121,11 +122,12 @@ + {#each Object.keys(oauths) as k} - {#if !['authelia', 'authentik', 'google', 'microsoft', 'github', 'gitlab', 'jumpcloud', 'okta', 'auth0', 'keycloak', 'slack', 'kanidm', 'zitadel', 'nextcloud'].includes(k) && 'login_config' in oauths[k]} + {#if !['authelia', 'authentik', 'google', 'microsoft', 'github', 'gitlab', 'jumpcloud', 'okta', 'auth0', 'keycloak', 'slack', 'kanidm', 'zitadel', 'nextcloud', 'pocketid'].includes(k) && 'login_config' in oauths[k]} {#if oauths[k]}
diff --git a/frontend/src/lib/components/PocketIdSetting.svelte b/frontend/src/lib/components/PocketIdSetting.svelte new file mode 100644 index 0000000000000..5509f6df35083 --- /dev/null +++ b/frontend/src/lib/components/PocketIdSetting.svelte @@ -0,0 +1,70 @@ + + +
+ + {#if enabled} +
+ + + + +
+ {/if} +
diff --git a/frontend/src/lib/components/icons/PocketIdIcon.svelte b/frontend/src/lib/components/icons/PocketIdIcon.svelte new file mode 100644 index 0000000000000..c1d98755ce606 --- /dev/null +++ b/frontend/src/lib/components/icons/PocketIdIcon.svelte @@ -0,0 +1,12 @@ + + + + + diff --git a/frontend/src/lib/components/icons/index.ts b/frontend/src/lib/components/icons/index.ts index cf9bcacbeb730..a9b4bdc7ba204 100644 --- a/frontend/src/lib/components/icons/index.ts +++ b/frontend/src/lib/components/icons/index.ts @@ -103,6 +103,7 @@ import ApifyIcon from './ApifyIcon.svelte' import McpIcon from './McpIcon.svelte' import SageIcon from './SageIcon.svelte' import ZohoIcon from './ZohoIcon.svelte' +import PocketIdIcon from './PocketIdIcon.svelte' export const APP_TO_ICON_COMPONENT = { postgresql: PostgresIcon, mysql: Mysql, @@ -210,7 +211,8 @@ export const APP_TO_ICON_COMPONENT = { mqtt: MqttIcon, apify: ApifyIcon, mcp: McpIcon, - zoho: ZohoIcon + zoho: ZohoIcon, + pocketid: PocketIdIcon } as const export {