Sentry Plugin
The Sentry plugin enables per-user OAuth so Slack users can run Sentry investigations through capability-scoped access.
Configure OAuth application
Section titled “Configure OAuth application”Set redirect URL to:
<base-url>/api/oauth/callback/sentrySet host env vars:
SENTRY_CLIENT_IDSENTRY_CLIENT_SECRET
Runtime auth flow
Section titled “Runtime auth flow”- User runs
/sentry auth. - Runtime sends private authorization link.
- OAuth callback stores token and can resume the original request.
Optional defaults
Section titled “Optional defaults”jr-rpc config set sentry.org getsentryjr-rpc config set sentry.project my-projectVerify
Section titled “Verify”/sentry authcompletes successfully.- A real query returns expected data.
- Re-auth flow works after token invalidation.
Failure modes
Section titled “Failure modes”- 401/403 after issuance: token lacks org access or stale token.
- Callback errors: redirect URL mismatch or invalid base URL.
Next step
Section titled “Next step”Review Credentials & OAuth and Security Hardening.