diff --git a/backend/oauth_connect.json b/backend/oauth_connect.json
index 423e3819ec..bc05e78472 100644
--- a/backend/oauth_connect.json
+++ b/backend/oauth_connect.json
@@ -77,16 +77,5 @@
"token_url": "https://www.linkedin.com/oauth/v2/accessToken",
"scopes": ["w_member_social", "r_liteprofile", "r_emailaddress"],
"req_body_auth": true
- },
- "square": {
- "auth_url": "https://squareup.com/oauth2/authorize",
- "token_url": "https://squareup.com/oauth2/token",
- "scopes": [
- "CUSTOMERS_READ",
- "ORDERS_READ",
- "INVENTORY_READ",
- "MERCHANT_PROFILE_READ"
- ],
- "req_body_auth": true
}
}
diff --git a/frontend/src/lib/components/AppConnect.svelte b/frontend/src/lib/components/AppConnect.svelte
index 0c0cf67f36..c53faf756b 100644
--- a/frontend/src/lib/components/AppConnect.svelte
+++ b/frontend/src/lib/components/AppConnect.svelte
@@ -34,6 +34,15 @@
supabase: {
img: '/supabase_connect.png',
instructions: ['Go to the API Settings of your app to find the project URL and key']
+ },
+
+ square: {
+ img: '/square_connect.gif',
+ instructions: [
+ 'Go to https://developer.squareup.com/apps',
+ 'In the left pane, choose Credentials',
+ 'At the top of the page, choose Production mode for a production access token or Sandbox mode for a Sandbox access token.'
+ ]
}
}
diff --git a/frontend/src/lib/components/icons/SquareIcon.svelte b/frontend/src/lib/components/icons/SquareIcon.svelte
new file mode 100644
index 0000000000..861eea7347
--- /dev/null
+++ b/frontend/src/lib/components/icons/SquareIcon.svelte
@@ -0,0 +1,10 @@
+
+
+
diff --git a/frontend/src/lib/components/icons/index.ts b/frontend/src/lib/components/icons/index.ts
index c336dbe50b..7bbbbdb296 100644
--- a/frontend/src/lib/components/icons/index.ts
+++ b/frontend/src/lib/components/icons/index.ts
@@ -45,6 +45,7 @@ import SupabaseIcon from './SupabaseIcon.svelte'
import WebdavIcon from './WebdavIcon.svelte'
import ZammadIcon from './ZammadIcon.svelte'
import SurrealdbIcon from './SurrealdbIcon.svelte'
+import SquareIcon from './SquareIcon.svelte'
export const APP_TO_ICON_COMPONENT = {
postgresql: PostgresIcon,
@@ -93,6 +94,7 @@ export const APP_TO_ICON_COMPONENT = {
mongodb: MongodbIcon,
reddit: RedditIcon,
supabase: SupabaseIcon,
+ square: SquareIcon,
webdav: WebdavIcon,
zammad: ZammadIcon,
nextcloud: NextcloudIcon,
diff --git a/frontend/static/square_connect.gif b/frontend/static/square_connect.gif
new file mode 100644
index 0000000000..11715e14ed
Binary files /dev/null and b/frontend/static/square_connect.gif differ