diff --git a/apps/sim/lib/oauth/oauth.ts b/apps/sim/lib/oauth/oauth.ts index ff544e5e2e0..d472d8d611c 100644 --- a/apps/sim/lib/oauth/oauth.ts +++ b/apps/sim/lib/oauth/oauth.ts @@ -735,9 +735,12 @@ export const OAUTH_PROVIDERS: Record = { 'groups:write', 'chat:write', 'chat:write.public', - 'assistant:write', - 'app_mentions:read', - 'im:history', + // TODO: Re-add once Slack app review approves these. Requesting a scope + // the app is not yet approved for makes Slack reject the entire + // authorization with "unapproved permissions requested", breaking connect. + // 'assistant:write', + // 'app_mentions:read', + // 'im:history', 'im:write', 'im:read', 'users:read', @@ -748,7 +751,7 @@ export const OAUTH_PROVIDERS: Record = { 'canvases:write', 'reactions:write', 'reactions:read', - 'pins:read', + // TODO: Add 'pins:read' once Slack app review is approved ], }, },