diff --git a/backend/oauth_connect.json b/backend/oauth_connect.json index 6f7f38770a..4c071fea09 100644 --- a/backend/oauth_connect.json +++ b/backend/oauth_connect.json @@ -2,47 +2,32 @@ "github": { "auth_url": "https://github.com/login/oauth/authorize", "token_url": "https://github.com/login/oauth/access_token", - "scopes": [ - "workflow", - "repo" - ] + "scopes": ["workflow", "repo"] }, "gitlab": { "auth_url": "https://gitlab.com/oauth/authorize", "token_url": "https://gitlab.com/oauth/token", - "scopes": [ - "api" - ] + "scopes": ["api"] }, "bitbucket": { "auth_url": "https://bitbucket.org/site/oauth2/authorize", "token_url": "https://bitbucket.org/site/oauth2/access_token", - "scopes": [ - "repository" - ] + "scopes": ["repository"] }, "slack": { "auth_url": "https://slack.com/oauth/authorize", "token_url": "https://slack.com/api/oauth.access", - "scopes": [ - "chat:write:user", - "users:read", - "users:read.email" - ] + "scopes": ["chat:write:user", "users:read", "users:read.email"] }, "supabase_wizard": { "auth_url": "https://api.supabase.com/v1/oauth/authorize", "token_url": "https://api.supabase.com/v1/oauth/token", - "scopes": [ - "all" - ] + "scopes": ["all"] }, "gsheets": { "auth_url": "https://accounts.google.com/o/oauth2/v2/auth", "token_url": "https://oauth2.googleapis.com/token", - "scopes": [ - "https://www.googleapis.com/auth/spreadsheets" - ], + "scopes": ["https://www.googleapis.com/auth/spreadsheets"], "extra_params": { "access_type": "offline", "prompt": "consent" @@ -51,9 +36,7 @@ "gdrive": { "auth_url": "https://accounts.google.com/o/oauth2/v2/auth", "token_url": "https://oauth2.googleapis.com/token", - "scopes": [ - "https://www.googleapis.com/auth/drive" - ], + "scopes": ["https://www.googleapis.com/auth/drive"], "extra_params": { "access_type": "offline", "prompt": "consent" @@ -62,9 +45,7 @@ "gmail": { "auth_url": "https://accounts.google.com/o/oauth2/v2/auth", "token_url": "https://oauth2.googleapis.com/token", - "scopes": [ - "https://www.googleapis.com/auth/gmail.send" - ], + "scopes": ["https://www.googleapis.com/auth/gmail.send"], "extra_params": { "access_type": "offline", "prompt": "consent" @@ -73,9 +54,7 @@ "gcal": { "auth_url": "https://accounts.google.com/o/oauth2/v2/auth", "token_url": "https://oauth2.googleapis.com/token", - "scopes": [ - "https://www.googleapis.com/auth/calendar.events" - ], + "scopes": ["https://www.googleapis.com/auth/calendar.events"], "extra_params": { "access_type": "offline", "prompt": "consent" @@ -84,9 +63,7 @@ "gforms": { "auth_url": "https://accounts.google.com/o/oauth2/v2/auth", "token_url": "https://oauth2.googleapis.com/token", - "scopes": [ - "https://www.googleapis.com/auth/forms" - ], + "scopes": ["https://www.googleapis.com/auth/forms"], "extra_params": { "access_type": "offline", "prompt": "consent" @@ -95,9 +72,7 @@ "gcloud": { "auth_url": "https://accounts.google.com/o/oauth2/v2/auth", "token_url": "https://oauth2.googleapis.com/token", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], + "scopes": ["https://www.googleapis.com/auth/cloud-platform"], "extra_params": { "access_type": "offline", "prompt": "consent" @@ -128,19 +103,13 @@ "linkedin": { "auth_url": "https://www.linkedin.com/oauth/v2/authorization", "token_url": "https://www.linkedin.com/oauth/v2/accessToken", - "scopes": [ - "w_member_social", - "r_liteprofile", - "r_emailaddress" - ], + "scopes": ["w_member_social", "r_liteprofile", "r_emailaddress"], "req_body_auth": true }, "quickbooks": { "auth_url": "https://appcenter.intuit.com/connect/oauth2", "token_url": "https://oauth.platform.intuit.com/oauth2/v1/tokens/bearer", - "scopes": [ - "com.intuit.quickbooks.accounting" - ] + "scopes": ["com.intuit.quickbooks.accounting"] }, "visma": { "auth_url": "https://connect.visma.com/connect/authorize", @@ -153,6 +122,11 @@ "vismanet_erp_interactive_api:update" ] }, + "sage_intacct": { + "auth_url": "https://api.intacct.com/ia/api/v1/oauth2/authorize", + "token_url": "https://api.intacct.com/ia/api/v1/oauth2/token", + "scopes": ["offline_access"] + }, "spotify": { "auth_url": "https://accounts.spotify.com/authorize", "token_url": "https://accounts.spotify.com/api/token", @@ -175,10 +149,7 @@ "xero": { "auth_url": "https://login.xero.com/identity/connect/authorize", "token_url": "https://identity.xero.com/connect/token", - "scopes": [ - "offline_access", - "accounting.transactions" - ] + "scopes": ["offline_access", "accounting.transactions"] }, "zoho": { "auth_url": "https://accounts.zoho.com/oauth/v2/auth", diff --git a/frontend/src/lib/components/AuthSettings.svelte b/frontend/src/lib/components/AuthSettings.svelte index eba6ac086a..e86adb1b4d 100644 --- a/frontend/src/lib/components/AuthSettings.svelte +++ b/frontend/src/lib/components/AuthSettings.svelte @@ -65,6 +65,7 @@ 'linkedin', 'quickbooks', 'visma', + 'sage_intacct', 'spotify', 'snowflake_oauth', 'teams', diff --git a/frontend/src/lib/components/icons/SageIcon.svelte b/frontend/src/lib/components/icons/SageIcon.svelte new file mode 100644 index 0000000000..118f827c8e --- /dev/null +++ b/frontend/src/lib/components/icons/SageIcon.svelte @@ -0,0 +1,15 @@ + + + + + diff --git a/frontend/src/lib/components/icons/index.ts b/frontend/src/lib/components/icons/index.ts index 885c6f0b59..bc558628c3 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 SageIcon from './SageIcon.svelte' import ZohoIcon from './ZohoIcon.svelte' export const APP_TO_ICON_COMPONENT = { postgresql: PostgresIcon, @@ -199,6 +200,7 @@ export const APP_TO_ICON_COMPONENT = { jumpcloud: JumpCloudIcon, keycloak: KeycloakIcon, zitadel: ZitadelIcon, + sage_intacct: SageIcon, spotify: SpotifyIcon, xero: XeroIcon, kafka: KafkaIcon,