0
Support optional OAuth scopes in the Slack integration
Source: getsentry/sentry#132955 · opened by @sentry-junior[bot]
Some customers want to install the Sentry Slack app without granting every bot scope it requests. Today the scope set is mostly all-or-nothing. Raised by Max Topolsky on behalf of a customer. • SlackIntegrationProvider.identity_oauth_scopes in [src/sentry/integrations/slack/integration.py]( is a fixed set of bot scopes, plus user_scopes. The install asks for all of them. • channels:history and groups:history are already optional at install, as the [Slack integration docs]( show. Every other bot scope is required. • The scopes Slack actually grants are saved in integration.metadata["scopes"]. has_scope and has_history_scope check them for some features, because older installs can be missing newer scopes. • Changing the app's scope configuration also means Slack has to review the app again. • Workaround for now: outgoing webhooks instead of the Slack integration. Open questions: • Which other scopes could become optional, and what eac…
No pledges yet. Be the first to back this.
Comments
Similar requests
Slack integration - Hitting Slack rate limit when using API's to create alerts gives wrong error message
9 votes · 0 comments
Slack integration - get a slack notification when a team is being assigned to an issue
19 votes · 0 comments
Missing some updates on channel, with Slack and Jira integrations
0 votes · 0 comments
Slack integration - add support for choosing existing release or commit from Resolve button
0 votes · 0 comments
[User Feedback] Feature request: Push comments into slack notif threads
6 votes · 0 comments
No comments yet.