fix(slack): stop requesting unapproved OAuth scopes that break connect (#5631)

This commit is contained in:
Theodore Li
2026-07-13 13:31:09 -04:00
committed by GitHub
parent fc25cfb3c8
commit f9cc73f534
+7 -4
View File
@@ -735,9 +735,12 @@ export const OAUTH_PROVIDERS: Record<string, OAuthProviderConfig> = {
'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<string, OAuthProviderConfig> = {
'canvases:write',
'reactions:write',
'reactions:read',
'pins:read',
// TODO: Add 'pins:read' once Slack app review is approved
],
},
},