feat: add support for sage intacct oauth (#6794)

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
This commit is contained in:
hugocasa
2025-10-16 20:40:25 +00:00
committed by GitHub
co-authored by Ruben Fiszel
parent b779cb7e02
commit ac1599727e
4 changed files with 37 additions and 48 deletions
+19 -48
View File
@@ -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",
@@ -65,6 +65,7 @@
'linkedin',
'quickbooks',
'visma',
'sage_intacct',
'spotify',
'snowflake_oauth',
'teams',
@@ -0,0 +1,15 @@
<script lang="ts">
interface Props {
height?: string
width?: string
}
let { height = '24px', width = '24px' }: Props = $props()
</script>
<svg {width} {height} viewBox="0 0 31 54" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M15.2 0C6.5 0 0 6.5 0 14.9C0 24.1 6.5 27.6 13.8 29.8C20.7 32 23.9 34.4 23.9 39.1C23.9 43.9 20.3 47.3 15.6 47.3C10.9 47.3 6.8 43.9 6.8 38.7C6.8 35.8 8.2 35.1 8.2 33.5C8.2 31.7 6.9 30.3 4.8 30.3C2.4 30.3 0 33.9 0 39.1C0 47.4 7.1 53.5 15.6 53.5C24.2 53.5 30.8 47 30.8 38.6C30.8 29.5 24.3 25.9 16.9 23.7C10.1 21.6 6.8 19.1 6.8 14.4C6.8 9.7 10.3 6.3 15 6.3C19.9 6.3 23.8 9.8 23.9 14.5C24 16.7 25.5 18 27.3 18C29.1 18 30.8 16.7 30.7 14.4C30.6 6 23.6 0 15.2 0Z"
fill="#00D639"
/>
</svg>
@@ -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,