Why it matters
Prefer bot tokens; user tokens widen blast radius and need clearer UX consent.
Practical steps
- Confirm Slack request URL / Events API needs for slack user token scopes in current api.slack.com docs.
- Verify signing secret (X-Slack-Signature + timestamp) before handling prefer bot tokens; user tokens widen blast radius and need clearer UX consent.
- Respond to URL verification and interactivity within Slack's ACK window; enqueue slow work.
- Store only the team/user ids you need; rotate the signing secret in staging first.
- Document reinstall / bot token rotation steps that touch slack user token scopes.
Watch out for
- Copy-pasting outdated snippets for slack user token scopes without re-reading current official docs.
- Shipping slack user token scopes to production without a staging rehearsal and a documented rollback.