mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
fix(slack): stop requesting unapproved OAuth scopes that break connect (#5631)
This commit is contained in:
@@ -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
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user