BotNetwork

User token scopes vs bot tokens

prefer bot tokens; user tokens widen blast radius and need clearer UX consent

Guide1 min readUpdated

Why it matters

Prefer bot tokens; user tokens widen blast radius and need clearer UX consent.

Practical steps

  1. Confirm Slack request URL / Events API needs for slack user token scopes in current api.slack.com docs.
  2. Verify signing secret (X-Slack-Signature + timestamp) before handling prefer bot tokens; user tokens widen blast radius and need clearer UX consent.
  3. Respond to URL verification and interactivity within Slack's ACK window; enqueue slow work.
  4. Store only the team/user ids you need; rotate the signing secret in staging first.
  5. 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.

Related comparisons and tools