33 AirtableIcon ,
44 AsanaIcon ,
55 ConfluenceIcon ,
6- DiscordIcon ,
6+ // DiscordIcon,
77 GithubIcon ,
88 GmailIcon ,
99 GoogleCalendarIcon ,
@@ -27,7 +27,7 @@ import {
2727 RedditIcon ,
2828 SalesforceIcon ,
2929 SlackIcon ,
30- SupabaseIcon ,
30+ // SupabaseIcon,
3131 TrelloIcon ,
3232 WealthboxIcon ,
3333 WebflowIcon ,
@@ -42,12 +42,12 @@ export type OAuthProvider =
4242 | 'google'
4343 | 'github'
4444 | 'x'
45- | 'supabase'
45+ // | 'supabase'
4646 | 'confluence'
4747 | 'airtable'
4848 | 'notion'
4949 | 'jira'
50- | 'discord'
50+ // | 'discord'
5151 | 'microsoft'
5252 | 'linear'
5353 | 'slack'
@@ -72,12 +72,12 @@ export type OAuthService =
7272 | 'google-forms'
7373 | 'github'
7474 | 'x'
75- | 'supabase'
75+ // | 'supabase'
7676 | 'confluence'
7777 | 'airtable'
7878 | 'notion'
7979 | 'jira'
80- | 'discord'
80+ // | 'discord'
8181 | 'microsoft-excel'
8282 | 'microsoft-teams'
8383 | 'microsoft-planner'
@@ -354,23 +354,23 @@ export const OAUTH_PROVIDERS: Record<string, OAuthProviderConfig> = {
354354 } ,
355355 defaultService : 'x' ,
356356 } ,
357- supabase : {
358- id : 'supabase' ,
359- name : 'Supabase' ,
360- icon : ( props ) => SupabaseIcon ( props ) ,
361- services : {
362- supabase : {
363- id : 'supabase' ,
364- name : 'Supabase' ,
365- description : 'Connect to your Supabase projects and manage data.' ,
366- providerId : 'supabase' ,
367- icon : ( props ) => SupabaseIcon ( props ) ,
368- baseProviderIcon : ( props ) => SupabaseIcon ( props ) ,
369- scopes : [ 'database.read' , 'database.write' , 'projects.read' ] ,
370- } ,
371- } ,
372- defaultService : 'supabase' ,
373- } ,
357+ // supabase: {
358+ // id: 'supabase',
359+ // name: 'Supabase',
360+ // icon: (props) => SupabaseIcon(props),
361+ // services: {
362+ // supabase: {
363+ // id: 'supabase',
364+ // name: 'Supabase',
365+ // description: 'Connect to your Supabase projects and manage data.',
366+ // providerId: 'supabase',
367+ // icon: (props) => SupabaseIcon(props),
368+ // baseProviderIcon: (props) => SupabaseIcon(props),
369+ // scopes: ['database.read', 'database.write', 'projects.read'],
370+ // },
371+ // },
372+ // defaultService: 'supabase',
373+ // },
374374 confluence : {
375375 id : 'confluence' ,
376376 name : 'Confluence' ,
@@ -484,23 +484,23 @@ export const OAUTH_PROVIDERS: Record<string, OAuthProviderConfig> = {
484484 } ,
485485 defaultService : 'airtable' ,
486486 } ,
487- discord : {
488- id : 'discord' ,
489- name : 'Discord' ,
490- icon : ( props ) => DiscordIcon ( props ) ,
491- services : {
492- discord : {
493- id : 'discord' ,
494- name : 'Discord' ,
495- description : 'Read and send messages to Discord channels and interact with servers.' ,
496- providerId : 'discord' ,
497- icon : ( props ) => DiscordIcon ( props ) ,
498- baseProviderIcon : ( props ) => DiscordIcon ( props ) ,
499- scopes : [ 'identify' , 'bot' , 'messages.read' , 'guilds' , 'guilds.members.read' ] ,
500- } ,
501- } ,
502- defaultService : 'discord' ,
503- } ,
487+ // discord: {
488+ // id: 'discord',
489+ // name: 'Discord',
490+ // icon: (props) => DiscordIcon(props),
491+ // services: {
492+ // discord: {
493+ // id: 'discord',
494+ // name: 'Discord',
495+ // description: 'Read and send messages to Discord channels and interact with servers.',
496+ // providerId: 'discord',
497+ // icon: (props) => DiscordIcon(props),
498+ // baseProviderIcon: (props) => DiscordIcon(props),
499+ // scopes: ['identify', 'bot', 'messages.read', 'guilds', 'guilds.members.read'],
500+ // },
501+ // },
502+ // defaultService: 'discord',
503+ // },
504504 notion : {
505505 id : 'notion' ,
506506 name : 'Notion' ,
@@ -1033,18 +1033,18 @@ function getProviderAuthConfig(provider: string): ProviderAuthConfig {
10331033 supportsRefreshTokenRotation : true ,
10341034 }
10351035 }
1036- case 'supabase' : {
1037- const { clientId, clientSecret } = getCredentials (
1038- env . SUPABASE_CLIENT_ID ,
1039- env . SUPABASE_CLIENT_SECRET
1040- )
1041- return {
1042- tokenEndpoint : 'https://api.supabase.com/v1/oauth/token' ,
1043- clientId,
1044- clientSecret,
1045- useBasicAuth : false ,
1046- }
1047- }
1036+ // case 'supabase': {
1037+ // const { clientId, clientSecret } = getCredentials(
1038+ // env.SUPABASE_CLIENT_ID,
1039+ // env.SUPABASE_CLIENT_SECRET
1040+ // )
1041+ // return {
1042+ // tokenEndpoint: 'https://api.supabase.com/v1/oauth/token',
1043+ // clientId,
1044+ // clientSecret,
1045+ // useBasicAuth: false,
1046+ // }
1047+ // }
10481048 case 'notion' : {
10491049 const { clientId, clientSecret } = getCredentials (
10501050 env . NOTION_CLIENT_ID ,
@@ -1057,18 +1057,18 @@ function getProviderAuthConfig(provider: string): ProviderAuthConfig {
10571057 useBasicAuth : false ,
10581058 }
10591059 }
1060- case 'discord' : {
1061- const { clientId, clientSecret } = getCredentials (
1062- env . DISCORD_CLIENT_ID ,
1063- env . DISCORD_CLIENT_SECRET
1064- )
1065- return {
1066- tokenEndpoint : 'https://discord.com/api/v10/oauth2/token' ,
1067- clientId,
1068- clientSecret,
1069- useBasicAuth : true ,
1070- }
1071- }
1060+ // case 'discord': {
1061+ // const { clientId, clientSecret } = getCredentials(
1062+ // env.DISCORD_CLIENT_ID,
1063+ // env.DISCORD_CLIENT_SECRET
1064+ // )
1065+ // return {
1066+ // tokenEndpoint: 'https://discord.com/api/v10/oauth2/token',
1067+ // clientId,
1068+ // clientSecret,
1069+ // useBasicAuth: true,
1070+ // }
1071+ // }
10721072 case 'microsoft' : {
10731073 const { clientId, clientSecret } = getCredentials (
10741074 env . MICROSOFT_CLIENT_ID ,
0 commit comments