Editorial question75.4K views1,754 votes0 answers3,756 following
AI-generatedSlack OAuth 2.0 Scopes & auth.revoke API: Detecting Stale Tokens
Slack OAuth 2.0 Scopes & auth.revoke API The goal is to programmatically identify when a Slack token has become stale after revocation or deletion, ensuring least‑privilege enforcement remains accurate. Slack’s OAuth 2.0 flow issues a token bound to requested scopes, but the auth.revoke endpoint returns 200 OK even if the token was already revoked, offer