diff --git a/frontend/src/lib/components/AuthSettings.svelte b/frontend/src/lib/components/AuthSettings.svelte index f63590858b..8d9d90ff2b 100644 --- a/frontend/src/lib/components/AuthSettings.svelte +++ b/frontend/src/lib/components/AuthSettings.svelte @@ -9,6 +9,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' @@ -258,11 +259,12 @@ + {#each Object.keys(oauths) as k} - {#if !['authelia', 'authentik', 'google', 'microsoft', 'github', 'gitlab', 'jumpcloud', 'okta', 'auth0', 'keycloak', 'slack', 'kanidm', 'zitadel', 'nextcloud'].includes(k) && oauths[k] && 'login_config' in oauths[k]} + {#if !['authelia', 'authentik', 'google', 'microsoft', 'github', 'gitlab', 'jumpcloud', 'okta', 'auth0', 'keycloak', 'slack', 'kanidm', 'zitadel', 'nextcloud', 'pocketid'].includes(k) && oauths[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 0000000000..76d308b786 --- /dev/null +++ b/frontend/src/lib/components/PocketIdSetting.svelte @@ -0,0 +1,80 @@ + + +
+ + + {#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 0000000000..c1d98755ce --- /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 37cebf804c..07f74d477f 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' import type { Component } from 'svelte' export const APP_TO_ICON_COMPONENT = { postgresql: PostgresIcon, @@ -211,7 +212,8 @@ export const APP_TO_ICON_COMPONENT = { mqtt: MqttIcon, apify: ApifyIcon, mcp: McpIcon, - zoho: ZohoIcon + zoho: ZohoIcon, + pocketid: PocketIdIcon } as unknown as Record // to generate correct svelte package types export {