From a3abb5fcd69465fcc2fad250339e82556ad5d68f Mon Sep 17 00:00:00 2001 From: hugocasa Date: Tue, 14 Oct 2025 19:32:24 +0200 Subject: [PATCH] feat: add support for zoho oauth (#6809) --- backend/oauth_connect.json | 10 ++++++ .../src/lib/components/icons/ZohoIcon.svelte | 35 +++++++++++++++++++ frontend/src/lib/components/icons/index.ts | 5 ++- 3 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 frontend/src/lib/components/icons/ZohoIcon.svelte diff --git a/backend/oauth_connect.json b/backend/oauth_connect.json index b4f45fa486..6f7f38770a 100644 --- a/backend/oauth_connect.json +++ b/backend/oauth_connect.json @@ -180,5 +180,15 @@ "accounting.transactions" ] }, + "zoho": { + "auth_url": "https://accounts.zoho.com/oauth/v2/auth", + "token_url": "https://accounts.zoho.com/oauth/v2/token", + "scopes": [ + "ZohoAssist.sessionapi.ALL" + ], + "extra_params": { + "access_type": "offline" + } + }, "snowflake_oauth": {} } diff --git a/frontend/src/lib/components/icons/ZohoIcon.svelte b/frontend/src/lib/components/icons/ZohoIcon.svelte new file mode 100644 index 0000000000..28fac47fb0 --- /dev/null +++ b/frontend/src/lib/components/icons/ZohoIcon.svelte @@ -0,0 +1,35 @@ + + + + + + + + + + diff --git a/frontend/src/lib/components/icons/index.ts b/frontend/src/lib/components/icons/index.ts index b3798c7d19..885c6f0b59 100644 --- a/frontend/src/lib/components/icons/index.ts +++ b/frontend/src/lib/components/icons/index.ts @@ -99,6 +99,7 @@ import XeroIcon from './XeroIcon.svelte' import KafkaIcon from './KafkaIcon.svelte' import NatsIcon from './NatsIcon.svelte' import MqttIcon from './MqttIcon.svelte' +import ZohoIcon from './ZohoIcon.svelte' export const APP_TO_ICON_COMPONENT = { postgresql: PostgresIcon, mysql: Mysql, @@ -203,6 +204,7 @@ export const APP_TO_ICON_COMPONENT = { kafka: KafkaIcon, nats: NatsIcon, mqtt: MqttIcon, + zoho: ZohoIcon } as const export { @@ -300,5 +302,6 @@ export { XeroIcon, KafkaIcon, NatsIcon, - MqttIcon + MqttIcon, + ZohoIcon }