FeatureFuel
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.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests